[OT] Perl calling AppleScript
[OT] Perl calling AppleScript
- Subject: [OT] Perl calling AppleScript
- From: John DeYoung <email@hidden>
- Date: Wed, 14 Jan 2004 23:46:21 -0500
Hi all -
Apologies for being a little off-topic...
I've inherited a Perl script with a few routines invoking AS commands
which, being written a couple of years ago, expects to make the calls
through MacPerl. Needless to say, it breaks under OS X, but the client
still wants to use it.
As you'll soon figure out, my Perl is pretty much limited to spelling
its name correctly, so I may be up against something trivial, but does
anyone know how I can rewrite the MacPerl calls to run straight through
the included Perl under OS X? The operative sections all look like
this:
{
MacPerl::DoAppleScript(<<END_SCRIPT);
tell application "$myApp"
[...]
end tell
END_SCRIPT
}
Thanks in advance,
-John DeYoung
--
at the end of the longest line / that's where i will always be
if you need to find me / just go to the end of the longest line
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.