Re: Restarting OSX through applescript
Re: Restarting OSX through applescript
- Subject: Re: Restarting OSX through applescript
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 05 Apr 2002 18:19:49 -0800
On 4/5/02 5:58 PM, "Sander Tekelenburg" <email@hidden> wrote:
>
So why does "shutdown" compile as a Finder keyword (clearly indicated as such
>
by Script Editor's syntax colouring) if it isn't understood by the Finder in
>
the first place? And why doesn't the Finder return an error, if it doesn't
>
understand what it is being told?
>
>
Might this be... a bug? ;)
I don't think so. Did you try 'shutdown' _outside_ a Finder tell block? it
still compiles as a keyword. SD's manifest doesn't find an osax for it in OS
X. So it's an AppleScript keyword, not a Finder keyword. When I run it, it
doesn't do anything. When I run
class of shutdown
the result is
constant
So it's not a command. Maybe it's used with that term that's replaced
'computer' command, to denote a state of being.
--
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.