• 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: Workflow to run shell script on contents of a Finder selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Workflow to run shell script on contents of a Finder selection


  • Subject: Re: Workflow to run shell script on contents of a Finder selection
  • From: pete boardman <email@hidden>
  • Date: Sat, 15 Oct 2005 18:21:23 +0100

On 15 Oct 2005, at 16:51, Steve Hayman wrote:

on run {input, parameters}
        set aliasList to {}
        repeat with anItem in (input as list)
            set end of aliasList to (anItem as alias)
        end repeat

        return aliasList
    end run

That's perfect! It seems to be handling 1 or more files nicely now.

Thanks, Steve.


Pete _______________________________________________ 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: 
 >Workflow to run shell script on contents of a Finder selection (From: peter boardman <email@hidden>)
 >Re: Workflow to run shell script on contents of a Finder selection (From: Steve Hayman <email@hidden>)
 >Re: Workflow to run shell script on contents of a Finder selection (From: Christopher Nebel <email@hidden>)
 >Re: Workflow to run shell script on contents of a Finder selection (From: pete boardman <email@hidden>)
 >Re: Workflow to run shell script on contents of a Finder selection (From: Steve Hayman <email@hidden>)
 >Re: Workflow to run shell script on contents of a Finder selection (From: pete boardman <email@hidden>)
 >Re: Workflow to run shell script on contents of a Finder selection (From: Steve Hayman <email@hidden>)

  • Prev by Date: Re: Workflow to run shell script on contents of a Finder selection
  • Next by Date: Re: workflow fails after executing "Mount Disk Image" action
  • Previous by thread: Re: Workflow to run shell script on contents of a Finder selection
  • Next by thread: Re: workflow fails after executing "Mount Disk Image" action
  • Index(es):
    • Date
    • Thread