Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > "Wait for" application?

"Wait for" application?
Thread Tools
Fresh-Faced Recruit
Join Date: Mar 2001
Status: Offline
Reply With Quote
Mar 17, 2001, 09:47 AM
 
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
     
madra
Guest
Status:
Reply With Quote
Mar 19, 2001, 06:01 PM
 
i presume you've tried the built in options in speed disc where under options>when finished you can set speed disc to quit itself, shut down or restart the comp?

if you've tried that and speed disc isn't quitting i s'pose a pretty clumsy way of doing it would be to set speed disk to restart the comp when done and then have another script in your startup items folder which carried on with the rest of your backup routine when the machine restarted.

------------------
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:04 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2