Re: Scripting Startup Disk control panel
Re: Scripting Startup Disk control panel
- Subject: Re: Scripting Startup Disk control panel
- From: Deivy Petrescu <email@hidden>
- Date: Sun, 29 Jul 2001 09:35:48 -0400
At 1:01 PM +0200 7/29/01, Jan Pieter Kunst wrote:
Andy Wylie (email@hidden) schreef op 29-07-2001 12:28 :
> on 29/7/01 9:57 pm, Jan Pieter Kunst at email@hidden wrote:
>
> <snip<
>> tell application "Opstartschijf"
>> get startup system folder alias
>> end tell
>>
>> --> Expected end of line but found application constant or consideration
>>
>>
>> What am I doing wrong? Mac OS 9.1, AS 1.5.5 (sorry, no Dutch AS 1.6 is yet
>> in existence).
>>
> It doesn't work in the background, tell it to activate.
If I put an "activate" immediately after the "tell application", I get the
exact same error messages ...
JP
According to my files, that is what solved the SUdisk for me
<script>
tell application "Startup Disk"
activate
set <<class disk>> alias to alias "MacOS 9:" ---<------
quit
end tell
--------> chevrons (alt-\) class disk chevrons (alt-shift-\) (at
least in Monaco)
--MacOS 9: is my startup disk
-- you need the two "alias" in there. After compilation the script
changes appropriately.
<script>
Hope this will help.
Regards
Deivy Petrescu
http://www.dicas.com