Re: Scripting Startup Disk control panel
Re: Scripting Startup Disk control panel
- Subject: Re: Scripting Startup Disk control panel
- From: Jan Pieter Kunst <email@hidden>
- Date: Sun, 29 Jul 2001 16:02:53 +0200
Deivy Petrescu (email@hidden) schreef op 29-07-2001 15:35 :
>
tell application "Startup Disk"
>
activate
>
set <<class disk>> alias to alias "MacOS 9:"
>
quit
>
end tell
This compiles, but it still behaves strangely: "set" seems to work, but I
can't "get" a reference to the startup disk this way.
set x to get <<class disk>> alias as string
returns an empty string. Leaving out the "as [something]" returns nothing.
Related question: do you know what the raw apple-event code for "startup
system folder" is? I'm trying to script switching between two different 9.1
system folders on the same disk.
Thanks,
JP