(no subject)
(no subject)
- Subject: (no subject)
- From: "Braulio Gonzales" <email@hidden>
- Date: Wed, 31 Jan 2001 16:21:07 -0800
I'm having problems running an AppleScript application that I just finished,
let me explain what it is suppose to do. The script changes the startup
disk from one drive to another, then I typed the code that makes the Mac
restart, then after it restarts, I made it so that the drive that was the
startup disk is now initialized. When I ran the script, the AppleScript
skipped the restart command, is there a way that i can make AppleScript run
the whole script without skipping the restart code, heres my code:
set startup disk to file "Primary:" using file "secondary:System
Folder:Control Panels:Startup Disk"
tell application "Finder"
activate
restart
end tell
tell application "Finder"
activate
select startup disk
open selection
select folder "Utilities" of startup disk
open selection
select file "Drive Setup" of folder "Utilities" of startup disk
open selection
close container window of folder "Utilities" of startup disk
MoveMouse {26, 138}
DoDoubleClick
MoveMouse {242, 252}
DoDoubleClick
DoDoubleClick
Quit application "Drive Setup"
end tell
This is my code, I used the following extensions, Set Startup Disk, and
Cursor OSAX.
Thank you.
_________________________________________________________________
Get your FREE download of MSN Explorer at
http://explorer.msn.com