Hi everyone,
I am running Cron Software to control script execution. You list the times and
the scripts you want run. Does anyone know if it is possible to have Cron tell a
perl script to run? Then I would not have to call the perl script from within
AppleScript. I tried listing the perl script in the crontab file. It didn't do
anything.
So my next effort was to call a Perl script from an AppleScript. I am trying it
like this:
tell application "Finder"
activate
tell application "MacPerl"
DoScript("parseCernerFiles2.pl")
end tell
end tell
I can run the Perl script with no problems, but when I ask AppleScript to do it,
I get this error:
"MacPerl got an error. Can't continue DoScript." Is there something about the
interaction between AppleScript and MacPerl that I am overlooking?
On page 249 of Chris Nandor's 'MacPerl Power and Ease', there is an example of
calling MacPerl from AppleScript. It looks like you have to put the entire perl
script inside the AppleScript? Is this the only way to do it?
Thanks,
Kathy