• 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: How to do some AppleScript inside a Perl program to label duplicates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to do some AppleScript inside a Perl program to label duplicates


  • Subject: Re: How to do some AppleScript inside a Perl program to label duplicates
  • From: pete boardman <email@hidden>
  • Date: Mon, 19 Sep 2005 10:14:13 +0100

On 16 Sep 2005, at 22:05, Steve Hayman wrote:

Let me suggest an Automator workflow as a possibility too. You can have a "Run Shell Script" action with the perl code in it to produce the list of file names, followed immediately by a "Label Finder Items" action (which lets you choose a colour to be applied to a list of files.).

Following your suggestion, Steve, I tried Automator. As usual, I found it very promising, up to the point when I couldn't join the building blocks together:


1: Get Selected Finder Items -> Files/Folders
2: Run Perl script, which expects one or more paths as input (usage: $0 <path> <path>)


Some kind of conversion from Finder Files/Folders to Perl-suitable file paths is obviously required, but I don't think Automator is doing it.

Pity the automator-users list is moribund, because this topic is (finally) moving away from AppleScript... :-)


Pete


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: How to do some AppleScript inside a Perl program to label duplicates
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: How to do some AppleScript inside a Perl program to label duplicates (From: "Gary (Lists)" <email@hidden>)
 >Re: How to do some AppleScript inside a Perl program to label duplicates (From: Steve Hayman <email@hidden>)

  • Prev by Date: Re: How to do some AppleScript inside a Perl program to label duplicates
  • Next by Date: Re: How to do some AppleScript inside a Perl program to label duplicates
  • Previous by thread: Re: How to do some AppleScript inside a Perl program to label duplicates
  • Next by thread: Re: How to do some AppleScript inside a Perl program to label duplicates
  • Index(es):
    • Date
    • Thread