• 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
reboot into OS 9
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

reboot into OS 9


  • Subject: reboot into OS 9
  • From: mark richardson <email@hidden>
  • Date: Thu, 13 Mar 2003 10:41:42 +1100

I am a junior scripter at the very most, so please bare with me. I have
a lab of emacs that default boot into OSX however some of the students
still need to run Mac OS apps which don't run under classic. I have set
up a generic login for these students and have tried unsuccessfully to
put a restart into Mac OS script which I got from this list in the
Login Items System Preferences. I have changed it a little but the
script has to be run as root (so it tells me). Short of making this
user an admin which does work with their password I don't know what
else to try.

property mypassword : "adminpassword"
do shell script "/usr/sbin/bless -folder9 '/Volumes/Macintosh
HD/System Folder' -setOF" password mypassword with administrator
privileges
say "Restarting in OS 9"

ignoring application responses
tell application "Finder" to restart
end ignoring

Mark Richardson
_______________________________________________
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.

  • Follow-Ups:
    • Re: reboot into OS 9
      • From: Andrew <email@hidden>
    • Re: reboot into OS 9
      • From: David Glass <email@hidden>
  • Prev by Date: Re: Remove a Person from Address Book
  • Next by Date: Re: tell inside a tell
  • Previous by thread: Re: Illustrator scripting syntax
  • Next by thread: Re: reboot into OS 9
  • Index(es):
    • Date
    • Thread