Thank you very much, g3pb and Chris.

I succeeded in invoking the perl script (originally droplet) from AppleScript.

I choose Chris's advise because I revise my perl script frequently and I
would not like to copy the script into AppleScript script each time.

Any way, thank you very much.

Yoichi Fukuda
The Toyo Bunko.

At 10:41 AM -0900 01.3.10, Mr g3pb wrote:
>iH,
>
>you may want to pull the source out of the MacPerl droplet and insert it
>into your AppleScript
>
>tell app "MacPerl"
>do script ["
># perl stuff here
>",fullPathName]
>end tell
>
>the fullPathName will be passed to the script as $ARGV[0].
>


At 3:24 PM -0500, Mr Chris Nandor wrote:
>You can also pass the name of the script, not just the text.
>
>tell app "MacPerl"
>       Do Script [alias scriptName, fileName]
>end tell
>

Reply via email to