• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Scripting Startup Disk control panel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Scripting Startup Disk control panel
      • From: Jan Pieter Kunst <email@hidden>
References: 
 >Re: Scripting Startup Disk control panel (From: Jan Pieter Kunst <email@hidden>)

  • Prev by Date: RE: [Rant] Will mount volume EVER work the way it is supposed (Scott Swartz)
  • Next by Date: Re: Scripting Startup Disk control panel
  • Previous by thread: Re: Scripting Startup Disk control panel
  • Next by thread: Re: Scripting Startup Disk control panel
  • Index(es):
    • Date
    • Thread