Re: How to do some AppleScript inside a Perl program to label duplicates
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