Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Following this answer I have created a custom service that executes a shell script that looks like this:

open -a FireFox "http://dict.cc/$1"

It works fine when I click. Then I defined a custom shortcut for it, ( L), and when I use that, the script seems to get executed twice (two tabs open, both showing the desired page). How can I fix that?

Edit: This only seems to happen when I invoce the service using the shortcut from within FireFox.

Edit 2: This gets weirder and weirder. I now created a second script for looking up stuff in Google, and bound it to the hotkey T. Now when I press that, it actually opens both my custom services. I have no idea why this happens.

Also, I removed both the hotkeys temporarily to check if they were used, but nothing happened when I pressed them.

share|improve this question
    
I wonder if somehow an extension or something in firefox already is using the cmd-shift-L shortcut? –  Robert S Ciaccio Jan 28 '11 at 0:02
    
I checked, and it does not seem to be the case. –  Björn Pollex Jan 28 '11 at 10:12
add comment

2 Answers

Strange… maybe trying to rebuild your services menu (and then restarting) will help? See the top answer here:

http://superuser.com/questions/43700/snow-leopard-services-menu-says-its-building

share|improve this answer
add comment

Rather than a direct answer to your question, why don't you try something like Alfred which allows you to setup custom web queries which are a keyboard shortcut away.

Custom Search Pane

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.