• 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"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting "Startup Disk"


  • Subject: Re: Scripting "Startup Disk"
  • From: "Robert C. Jacobson" <email@hidden>
  • Date: Mon, 5 Aug 2002 08:21:41 -0400

At 2:57 PM -0400 8/4/02, Ted Pearson wrote:
>I am trying to write a script that will change the startup system folder to the Mac OS X system folder and then restart the computer. But I get an error when I do this:



tell application "Startup Disk"
activate
set its startup system folder alias to alias "Macintosh HD:System:Library:CoreServices:BootX"
quit
end tell

tell application "Finder"
restart
end tell

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Robert Jacobson email@hidden
BS, Aeronautical Engineering Univ. of Md., College Park
Flight Ops. Team - SOlar Heliospheric Observatory (SOHO)
(301) 286-1591
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Scripting "Startup Disk" (From: Ted Pearson <email@hidden>)

  • Prev by Date: Re: read from file
  • Next by Date: Re: OT: Eskimo words for snow (Re: what's a "froplet"?)
  • Previous by thread: Scripting "Startup Disk"
  • Next by thread: Re: "+" and "-" are numbers.
  • Index(es):
    • Date
    • Thread