I'm trying to set up an AppleScript to run with a keyboard shortcut. If I select the item from the scripts menu, it works fine, but it doesn't if I use a keyboard shortcut. The applescript simply runs a Ruby script through the shell. So far I've found two problems:
-Using a complicated shortcut like cmd-opt-ctrl-shift-\ makes the AppleScript display the dialog "Press Run to run this script, or Quit to quit."
-Using a more simple shortcut, the Ruby script is opened with an editor rather than being executed.
I'm wondering why the script would behave differently in these situations. Thanks for your help!