• 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: Calling other OSA Scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling other OSA Scripts


  • Subject: Re: Calling other OSA Scripts
  • From: bob anderson <email@hidden>
  • Date: Sun, 3 Jun 2001 21:08:33 -0400

If you want to pass the Perlscript files to process,
save it as a runtime version. Then launch it with the
Finder. The files will appear to the PerlScript as though
they were the arguments passed in a command line.

tell application "Finder"
open file tmpfile using application file "Macintosh HD:Path Folder1:Path
Folder2:hello.pl"
end tell

Regards,
Bob Anderson

>Message: 11
>Date: Thu, 24 May 2001 06:57:07 -0800
>Subject: Re: Calling other OSA Scripts
>From: g3pb <email@hidden>
>To: Kevin Diffily <email@hidden>,
> <email@hidden>
>
>tell application "MacPerl"
> Do Script "
>for($x=0; $x < 10; $x++) {
> print \"x is $x\\n\";
> }
>"
>end tell
>
>tell application "MacPerl"
> Do Script "iMac:Desktop Folder:test.pl" -- path to perl script file
>end tell
>
>-- hcir
>mailto:email@hidden
>
>
>> Thanks but what is the syntax to call a PerlScript from an AppleScript?
>
>--__--__--


  • Prev by Date: Re: Two things I noticed in a simple Finder script
  • Next by Date: Re: Current date in standard additions dictionary
  • Previous by thread: Re: referencing invisible items in the Finder (9.1)
  • Next by thread: Re: applescript-users digest, Vol 2 #723 - 14 msgs
  • Index(es):
    • Date
    • Thread