Jump to content

How to create a hotkey to run a mail.app applescript


Recommended Posts

Posted

I cannot figure out how to do this. I've created a trigger and an action to "run script" and pasted the script in there. How do I link them? Am I on the right track even?

 

In Alfred 1 I just used the global hotkeys feature. 

Posted

Carlos is right if you use the action "Run script". However, if you selected "Run NSAppleScript",  wrap your script in:

on alfred_script(q)

-- your script here

end alfred_script

 

To link elements, roll over the first one. An appendix should appear. Click on it and bring it to the next box.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...