• 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: Booting from 9 into X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Booting from 9 into X


  • Subject: Re: Booting from 9 into X
  • From: Paul Berkowitz <email@hidden>
  • Date: Sun, 17 Mar 2002 13:51:19 -0800

On 3/17/02 12:54 PM, "alain content" <email@hidden> wrote:

> Thanks to Michelle Steiner and Andy Wylie, it works !
>
> In case others are interested, here is my version :
>
> --
> tell application "Startup Disk"
> set localboot to true -- required!
> set it's startup system folder alias to ,
> "U:System:Library:CoreServices:BootX" as alias
> quit
> end tell
>
> tell application "Finder" to restart


There seems to be a new bug, or a "feature change" in AS 1.8.2b3 in OS
9.2.2.

'localboot' compiles as a variable, not as an application keyword, so
errors on execution ("The variable localboot is not defined.") once you
change the next line (see below).

'its startup system folder alias' won't even compile: it errors that "A
application constant or consideration can't go after this property",
highlighting 'startup system folder'.

Changing everything to raw code:

set <<property lcbt>> to true
set it's <<property sysf>> to "OS X Hard
Disk:System:Library:CoreServices:BootX" as alias


works fine. It looks as if the keywords are in the process of being changed,
or something?

Again, as we found in another context yesterday, it MUST be <<property
xxxx>>, NOT <<class xxxx>>, although it compiles to <<class xxxx>>. So when
you try to recompile, after editing anything else in the script, it won't
compile without re-typing <<property >>. What a pain! If they are now going
to be treated differently (which may be a good idea), could <<property >>
not compile to <<property >> instead of to <<class >> in future?

(Aside: what I find most amazing is that

it's startup system folder alias

with an apostrophe, actually works. Yucch. Neither English nor AppleScript
uses an apostrophe for the possessive "its". "it's" with an apostrophe is a
contraction of "it is". The line should be:

its startup system folder alias

Was it someone with poor grammar himself who implemented this as a
self-leniency, or someone who has a very forgiving nature? (Should I ask
Sal?) AppleScript is often very forgiving, but really... My AppleScript
formatting shows "it" to be part of the AppleScript language, but the final
" 's" (apostrophe-s) to be an "Operator, etc.". But it works anyway - quite
an operator).

--
Paul Berkowitz
_______________________________________________
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: Booting from 9 into X
      • From: John W Baxter <email@hidden>
    • Re: Booting from 9 into X
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: Booting from 9 into X (From: alain content <email@hidden>)

  • Prev by Date: Re: theSIMS -- Applescript copy paste from Explorer
  • Next by Date: Re: Booting from 9 into X
  • Previous by thread: Re: Booting from 9 into X
  • Next by thread: Re: Booting from 9 into X
  • Index(es):
    • Date
    • Thread