• 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: Fri, 16 Sep 2005 22:54:48 +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.).

Interesting idea. I like Automator a lot, but have never tried it with the shell script option.



------- Thanks to everyone for their help. It's working perfectly now. BTW, I decided to add Spotlight comments rather than Finder labels:

    tell application "Finder" to set comment of f to "it's a duplicate"

since I couldn't work out how to search for labelled files in Spotlight... :-)


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
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: Check to see if a computer is running....
  • Next by Date: Re: Running scripts from cron AND passing arguments. A solution.
  • 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