| Article: |
JavaScript and Mac OS | |
| Subject: | "login as Administrator" | |
| Date: | 2001-05-14 21:49:07 | |
| From: | rdomidion | |
|
Response to: "login as Administrator"
|
||
|
I got it installed. There is a technote about this at http://.
|
||
Showing messages 1 through 2 of 2.
-
"login as Administrator"
2001-05-15 11:37:05 Corvus [View]
-
"login as Administrator"
2001-05-16 09:03:35 rdomidion [View]
Sorry, the URL I meant was at MacFixIt.com; IE 5.1 won't let me paste a URL. Grrr.
The URL you gave says I have to log in to "AppleCare".
All teh Java scripts work in OSX except "finder.select(finder.desktop.startup_disk)". It says "The Apple Event was not handled by the client".
"tell application "Finder" to select startup disk" does not work in OSX in Apple script, either but it does work in Classic mode. It must be something wrong in OSX.
Thanks for your help.



A tech note for this is at http://www.info.apple.com/kbnum/n106237. I assume this is the URL you meant?
I didn't try the scripts under OS X. When you say "the Hard Drive Apple script doesn't work in OS X" do you mean the JavaScript version doesn't work and the AppleScript version does? Both don't work? Try each of the statements after the "tell" (in AppleScript) or "var finder = ..." (JavaScript) one at a time, without any others.
Did you spell "startup disk" right? It has to be "finder.desktop.startup_disk" in JavaScript, you can't use spaces or capital letters. What does this statement:
tell application "Finder" to select startup disk
do in AppleScript (not JavaScript) in OS X?