boxster Posted July 21, 2013 Share Posted July 21, 2013 I'm sure I'm overlooking something here but none of the Applescript-based Workflows run. Nothing happens. The Alfred window disappears and that's it. I'm running Alfred V2 with Powerpack on a MacBook Pro running OSX 10.8.4. I can copy the script into the Applescript editor and comment out the "on alfred_script(q)" and the "end alfred_script" and it runs. Here is a script from Aaron B. Hockley's Create OmniFocus Tasks Workflow as an example. on alfred_script(q) tell application "OmniFocus" set theDoc to default document set theTask to q -- comment out the whole tell quick entry block if you want tasks to go straight to inbox tell quick entry open set NewTask to make new inbox task with properties {name:theTask} activate end tell end tell end alfred_script What am I missing? Thanks. Link to comment
boxster Posted July 22, 2013 Author Share Posted July 22, 2013 Problem solved. Applescript wasn't handling 'on alfred_script' and 'end alfred_script correctly. Reinstalling Alfred V2 fixed the problem. Link to comment
jdfwarrior Posted July 22, 2013 Share Posted July 22, 2013 Problem solved. Applescript wasn't handling 'on alfred_script' and 'end alfred_script correctly. Reinstalling Alfred V2 fixed the problem. Glad you got it solved but Alfred hasn't had any issues with AppleScript in the past so I doubt it was just that he wasn't handling it correctly Link to comment
boxster Posted July 25, 2013 Author Share Posted July 25, 2013 I didn't say Alfred wasn't handling the 'on alfred_script' and 'end alfred_script correctly. I said that Applescript wasn't handling them correctly. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now