creating an automater service to launch an apple script

Forum
macOS & Mac Apps
Hello All, My goal is to create a keyboard shortcut to run an applescript, which seems to be harder then you would think. The only way to do this without installing third party inaccessible apps is to create an automater service, which runs an applescript, and then assign that service a shortcut. My problem is that I can't drag the action in the actions pain to the workflow area, so that I can paste the script code in the text box that's supposed to appear inside Automater. The text box does not appear unless you drag the item into the workflow list, which is why I can't put the script into the service...when I try to drag and drop the action, it fails. Any suggestions? Has anyone successfully created a service in Automater before? I've never had success using the application with VoiceOver. Thanks so much, Rocco

Options

Comments

Submitted by mehgcap on Sunday, April 13, 2014

Member of the AppleVis Editorial Team

Simply find the action you want to add, and press enter. Once you do, it will appear in the workflow's list of actions, just after the toolbar.

Submitted by Chelsea on Sunday, April 13, 2014

Thanks for the tip about pressing enter. I've always found that with drag and drop and Automator, you have to do things in a very specific order. But it might be easier for you just to use the keyboard commander with voiceover. He only problem with this is that voiceover would have to be running in order to run the AppleScript, but if you always run voiceover, the solution will work nicely.

Submitted by Rocco on Sunday, April 13, 2014

thank you guys so much! Yes, VoiceOver will likely be running when this script is in action, but I'd rather make the script not dependent on VoiceOver. When I do press enter on the action, It appears in the workflow list, thanks!! Now I can't find the text field to put the script code in. lol :)

Submitted by Rocco on Sunday, April 13, 2014

awesome!! Thank you so much, it worked!