• 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
[OT] Perl calling AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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.

  • Prev by Date: Re: Script expects quoted text mystery
  • Next by Date: Re: Script expects quoted text mystery
  • Previous by thread: Re: Script expects quoted text mystery
  • Next by thread: Re: How do I schedule a script
  • Index(es):
    • Date
    • Thread