--- Chris Nandor wrote:
Try [] instead of {} brackets.  I am not sure if it makes a difference, but
it might.  Also do $path = $ARGV[0], not @ARGV[0].  There might be
something else I am missing, but that should work.
--- end of quote ---

Chris,

$path = $ARGV[0] is what I needed in the Perl script. 

Also, in the AppleScript, I took the quotes off the argument and used the
brackets:

tell application "MacPerl"
        Do Script ["Pathology:Applications:Cron Software:ProcessPCImages2.pl", newPath]
end tell

I don't know if the brackets made a difference, but the rest did!!

Thanks so much,
Kathy

Reply via email to