|
|
Automator "Run Web Service" Parameters
Seems to work a treat, unless you want to specify your parameters at runtime. Then there's no obvious way to get the previous action's result into the parameters. I was about to pen a Suck on the topic, but I decided to see if I couldn't find a work-around first. Sure enough, we can take advantage of undocumented behavior of the "Parameters" field. It turns out this field is not just a dumb plist parser -- it's a full-blown AppleScript environment, called via the `run script` standard AppleScript addition. Arbitrary math, UI interaction, file system IO, etc., are all possible. But our needs are simple -- we just want to populate the Parameters field dynamically. This snippet does the job:
You can download a simple sample workflow document illustrating this work-around and/or view a screenshot. By the way, does anybody else envision pushing Automator into service as an acceptance test platform for end users? Monday, May 02, 2005
|
Contact Me Topics RSS Feed Linkblog
Bill Bumgarner Brent Simmons Daniel Jalkut Dave Dribin Eric Albert Eric Rescorla Eric Sink Greg Miller Gus Mueller Jeremy Zawodny John Gruber Mark Dalrymple Michael Tsai Peter Ammon Raymond Chen Ryan Wilcox Scott Stevenson Steven Frank The Daily WTF we hates software Wil Shipley |
Copyright © 1997-2008 Jonathan 'Wolf' Rentzsch. All rights reserved.
Questions? Comments? Contact Me.