Re: Scripting Startup Disk control panel
Re: Scripting Startup Disk control panel
- Subject: Re: Scripting Startup Disk control panel
- From: Jan Pieter Kunst <email@hidden>
- Date: Mon, 30 Jul 2001 06:16:55 +0200
Helmut Fuchs (email@hidden) schreef op 29-07-2001 23:16 :
>
The Problem is that "system folder" is also defined in the Standard
>
Additions, seemingly leading to a naming conflict. So you can't
>
compile it in the first place.
>
>
The following works for me (and be assured, it IS incredibly awkward):
>
>
tell application "Opstartschijf"
>
activate
>
set theAlias to <<property sysf>>
>
quit
>
end tell
[...]
>
2. when you compile this, the term "property" will magically change
>
to "class" - this will
>
eventually cause big headaches, because when you recompile, it
>
won't work anymore...
It works, and the <<property sysf>> changes to the term in the dictionary:
"startup system folder alias", when compiling.
Thanks, all I have to do is remember to change it back to <<property sysf>>
before a recompile. It is awkward, but I should be able to write my script
now.
The AS in a Nutshell book mentions the scriptable Startup Disk control panel
and its terms, but not this glitch...
Thanks to everyone who responded,
Jan Pieter Kunst.-