At 10:41 -0900 2001.03.10, 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].

You can also pass the name of the script, not just the text.

tell app "MacPerl"
        Do Script [alias scriptName, fileName]
end tell

-- 
Chris Nandor                      [EMAIL PROTECTED]    http://pudge.net/
Open Source Development Network    [EMAIL PROTECTED]     http://osdn.com/

Reply via email to