Re: AppleScript Commands With No Dictionary Entry
Re: AppleScript Commands With No Dictionary Entry
- Subject: Re: AppleScript Commands With No Dictionary Entry
- From: Richard Rönnbäck <email@hidden>
- Date: Tue, 13 Nov 2007 06:24:16 +0100
- Thread-topic: AppleScript Commands With No Dictionary Entry
You should also download and install Smile. It has the ability to get the
Dictionary for AppleScript itself, which I would recommend as reading to
everyone writing AppleScripts
// Richard
> Från: Paul Scott <email@hidden>
> Datum: Mon, 12 Nov 2007 20:47:00 -0800
> Till: <email@hidden>
> Ämne: AppleScript Commands With No Dictionary Entry
>
> Although I've written a dozen or more AppleScripts of varying complexity
> I've yet to understand something that seems rather basic, and not for a
> lack of research. Perhaps somebody has a good answer.
>
> Take, for example, this simple script in an Automator workflow:
>
> on run {input, parameters}
> tell application "TextEdit"
> open (item 1 of input) as string
> activate -- bring TextEdit into focus
> end tell
> return input
> end run
>
> Where in the name of Zeus is "activate" defined?
>
> I can't find a single dictionary that contains the "activate"
> command. Aren't all commands not intrinsic to AppleScript supposed
> to be defined in a dictionary? And if "activate" is an intrinsic
> command, then why isn't it defined in the AppleScript Language Guide
> in the Commands section? Was it simply an oversight? If so, how many
> other intrinsic commands were overlooked? Where are they defined?
> If "activate" is defined by the application, why doesn't it appear
> in the application's dictionary? What's the deal? Is there a set of
> undocumented AppleScript commands?
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> edband.net
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden