Re: Technical reference for Automator input to scripts
Re: Technical reference for Automator input to scripts
- Subject: Re: Technical reference for Automator input to scripts
- From: Jean-Christophe Helary <email@hidden>
- Date: Thu, 13 Apr 2017 09:07:43 +0900
> On Apr 13, 2017, at 8:47, Reese, Stevan <email@hidden> wrote:
>
> The input variable is almost always a list because most of the time you are passing in a file, list of files or folders. You could also pass several forms of text or some data from another application. If you can pass more than one item in then it will be in list form.
But If I pass it a string selected in a text file (regardless of the application) it will be a list too.
> I often use Script Editor to test snippets of code to make sure I have the syntax correct because it is better at reporting errors and steps.
> Have you tried putting
> display dialog input as text
> replacing (* Your script goes here *)?
I have tried a lot of things and trying is not an issue :)
I can also do a return class of input on all the types of inputs that Automator offers but instead of doing that I thought I'd rather ask if there was an official reference on the matter.
Jean-Christophe
_______________________________________________
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