• 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 16:34:03 +0100

On 16 Sep 2005, at 16:03, Gary (Lists) wrote:

Strictly responding to your question, you will likely want to explore two
Perl modules, "Mac::Glue" and "Mac::AppleScript", which are both available
from CPAN (links below.)


However, I could also suggest turning the question and looking at the
(perhaps more modular) approach of simply wrapping your Perl script around a
very short AppleScript which would pass off the files to the Perl, then do
whatever action you want (Finder labeling, you said.)


I suggest this because I've just gone through the same procedure, where I
wanted to use my installed "Markdown" as a Perl script, as a TextWrangler
Unix Filter and as an AppleScript dropl

Thanks for the suggestions, Gary. (I did the same as you for Markdown, but didn't have to actually read the Perl code, thank goodness, just wrapped it inside a 'do shell script'.)


Off to battle with Perl. I may be some time...

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>)

  • Prev by Date: Re: a numeric bug.
  • Next by Date: Re: How to deal with Asynchronous Finder operations
  • 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