Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

how to create service menu to send query to a web site and show the result in a web site pop up with automator?

need service menu like,

  1. selecting a word with double click.
  2. right clicking on the word shows service menu to ask to "https://dictionary.cambridge.org/dictionary/english
  3. a window pops up with the result.


I tried automator choosing "Service" but which didn't show menu in the service when I right click.


Thanks

Posted on Jan 2, 2021 3:09 AM

Reply
Question marked as Best reply

Posted on Jan 2, 2021 5:15 AM

If you have a trackpad, and have configured its Point & Click : Look up & data detectors feature, you can three-finger tap on a word to open up the definition of a Word in-place, and without a trackpad, you can press control+command+d. This depends on the dictionaries that you have selected and ordered in the Apple Dictionary application's Preferences. This is not a Cambridge dictionary result.


You can currently open the Apple Dictionary application from Safari (or Firefox) with the following invocation, and if the included Oxford American English dictionary is first in the dictionary preferences order, it will open the application to that word.


dict://tea



And for your express request, you can open the Cambridge dictionary location in a browser window, and it will be stuffed with advertisements that distract from the intended focus. This can be achieved with an Automator Quick Action where I capture the selected word, and append it to the Cambridge page reference, then pass that on to the Display Webpages Automator action. It will open in the default browser.




And now, any selected word can be looked up by right-clicking on the selection, and choosing Cambridge Word Lookup from the Service menu.

3 replies
Question marked as Best reply

Jan 2, 2021 5:15 AM in response to jeunghun

If you have a trackpad, and have configured its Point & Click : Look up & data detectors feature, you can three-finger tap on a word to open up the definition of a Word in-place, and without a trackpad, you can press control+command+d. This depends on the dictionaries that you have selected and ordered in the Apple Dictionary application's Preferences. This is not a Cambridge dictionary result.


You can currently open the Apple Dictionary application from Safari (or Firefox) with the following invocation, and if the included Oxford American English dictionary is first in the dictionary preferences order, it will open the application to that word.


dict://tea



And for your express request, you can open the Cambridge dictionary location in a browser window, and it will be stuffed with advertisements that distract from the intended focus. This can be achieved with an Automator Quick Action where I capture the selected word, and append it to the Cambridge page reference, then pass that on to the Display Webpages Automator action. It will open in the default browser.




And now, any selected word can be looked up by right-clicking on the selection, and choosing Cambridge Word Lookup from the Service menu.

how to create service menu to send query to a web site and show the result in a web site pop up with automator?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.