• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Technical reference for Automator input to scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Technical reference for Automator input to scripts (From: Jean-Christophe Helary <email@hidden>)
 >Re: Technical reference for Automator input to scripts (From: Jean-Christophe Helary <email@hidden>)
 >Re: Technical reference for Automator input to scripts (From: Jean-Christophe Helary <email@hidden>)
 >Re: Technical reference for Automator input to scripts (From: Jean-Christophe Helary <email@hidden>)

  • Prev by Date: Data Detectors for phone numbers
  • Next by Date: "Wait for files to copy" and "Dispense disk items incrementally" actions - How to use?
  • Previous by thread: Re: Technical reference for Automator input to scripts
  • Next by thread: Data Detectors for phone numbers
  • Index(es):
    • Date
    • Thread