I've used in the past successfully 2 scripts to daily backup my Message
Database and my Address Book
Now, if I select a script via PM's AppleScript pulldown menu, all is well
and it will backup. BUT, if I just double-click the same script in the
finder, it will not execute, just open the Script. Fine, I click RUN -
Result is that the AppleScript itself gets duplicated.
The path is correct, same script, 2 different behaviors. Any idea how to
overcome this?
It's a problem because I used to use iCal to trigger these scripts, but
it just isn't working anymore. It used to work with having an Alias of
that script in the iCal folder. Now nothing works.
The duplicate Address Database script looks like this:
set originalAB to "FullPath:Address Database" as string
tell application "Finder"
select file originalAB
duplicate selection
end tell
Any input welcome.
---marlyse