• 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: startup disk scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: startup disk scripting


  • Subject: Re: startup disk scripting
  • From: "J. B. Stewart" <email@hidden>
  • Date: Tue, 5 Jun 2001 15:45:47 -0400

At 5:11 PM +1000 6/5/01, Timothy Bates wrote:
>hi there,
>
>Any clues about why Startup Disk is unhappy about its own dictionary, or is
>this a conflict with another osax in my system, do you think?
>
>My goal is make an applescript to toggle the startup disk between OS9 and X
>
>the script (and error) are:
>tell application "Startup Disk"
> startup disk alias
>-->Expected end of line but found class name.
>end tell
>
>
>Dr Timothy Bates <mailto:email@hidden>
>Macquarie Centre for Cognitive Science (MACCS)
>Macquarie University
>Ph 61 (2) 9850 8623
>Fx 61 (2) 9850 6059
>_______________________________________________
>applescript-users mailing list
>email@hidden
>http://www.lists.apple.com/mailman/listinfo/applescript-users


--
--Script
tell application "Startup Disk"
activate
set startup system folder alias to alias "Mac HD:System:Library:CoreServices:BootX"
quit
end tell
tell application "Finder" to restart
-- End

Just change "Mac HD" to the name of your hard drive.

John


References: 
 >startup disk scripting (From: Timothy Bates <email@hidden>)

  • Prev by Date: CMYK image editor
  • Next by Date: Can't get screenName in AOL IM
  • Previous by thread: startup disk scripting
  • Next by thread: Re: startup disk scripting
  • Index(es):
    • Date
    • Thread