Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: Run Automator workflows from AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Run Automator workflows from AppleScript
Authored by: tedw on Nov 14, '08 02:31:11PM

the main advantage is that this method allows you to pass applescript variables <em>into</em> an automator workflow. I originally started thinking about this in the context of Mail rule actions. Mail won't (currently) accept automator workflows as part of rule actions, but it will produce lists of emails for applescript. there's no way that I can find to pass those Mail-produced lists to automator workflows for processing.

you can, of course, place an entire applescript in a 'run applescript' module (passing its result to the next action) - I'm not sure if there are any limitations on automator's implementation of applescript, but for normal purposes it should work fine. this is for those cases where (for need or convenience) you want to run the applescript directly and call a workflow with the processed data.



[ Reply to This | # ]