Hi all, I’m newbie so i don’t known if applescript is the solution for what I want to do. When you select any text on any application you has “Search in Spotlight” and “Search in Google” How could I add an extra menu “Search in Ebay” or other websites ? Regards
Hi,
in principle this is possible with OnMyCommand, which installs an extra custom contextual menu entry, and a line of code like this example for leo.dict.org
tell application "Safari" to open location "http://dict.leo.org/?search=" & (do JavaScript "\"\"+window.getSelection();" in front document)
Thank you very much I’ll try it now! Regards
Ok it works but now I have a little problem:
the only way to get it works is enable MenuScript in Menu bar becasuse if I select the texts in the menu (under “Search with google” doesn’t appears). Another questions how could i enable it globaly with alla applications (Adium, xchat, skype ecc) ?
Regards and thanks for help.
after running Install OnMyCommandCM in your OMCEdit folder
you should get a contextual menu item OnMyCommand with your custom commands in its submenu
I cannot be enabled globally, because the sites use different search strings
Thanks for help, i solved all my problem using OnMyCommandCM (OMCEdit)! I known that not exists “the best application” but are there also similar tool or better for editing contextual menu ? Regards
Model: osx86
Browser: Safari 522.12.1
Operating System: Mac OS X (10.4)
You cannot “edit” contextual menus,
you can only write ContextualMenu.plugins, which provide certain menu entries
Ok But there are also others editors like that ? Or is it the “only” one ? Thank you for help.