Re: how to provide input to Automator actions
Re: how to provide input to Automator actions
- Subject: Re: how to provide input to Automator actions
- From: Vince Angeloni <email@hidden>
- Date: Thu, 15 May 2008 19:12:33 -0500
Hi,
Two questions on automator
1) for -users list,
I am composing a workflow in Automator. When I use "Run" button to test it, I could not find a way to feed an input into the first action. For example, for "Get Folder Contents" action, how do I provide a path to it if I want to test it out.
Use "Get selected Finder Items" and select a folder, or "Get Specified Finder Items" first to pass folder to the Get Folder contents action.
2) for developers,
where do I find the exact data type of the action input/output so that I can invoke an action accordingly from my Cocoa application?
For example, many actions take Files as input
Input: Files/Folders
if I want to invoke the action from my program, shall I pass an array of file paths? an array of files?
In Automator, add the "View Results" action as the step after the one you want to know exactly what is being passed. For files and folders, that will usually be a list of file paths....
Thanks,
-- Wayne Shao |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden