I'm trying to automate daily maintenance for an office full of Macs. What I'd like to do is use iDo script scheduler to run Norton Speed Disk. I can run the schedule fine, I can launch the application fine, but after Speed Disk is finished, I can't get it to quit so I can perform another action. Here's the script that works:
tell application "Speed Disk"
activate
defragment disk "Your Hairy God"
end tell
Simple enough. When I any other commands to the end, I get an error that says Speed Disk can't do that while the disk is busy. How do I tell AppleScript that I want to do something after Speed Disk is finished?
Thanks in advance for any help.
A