AppleScript Commands With No Dictionary Entry
AppleScript Commands With No Dictionary Entry
- Subject: AppleScript Commands With No Dictionary Entry
- From: Paul Scott <email@hidden>
- Date: Mon, 12 Nov 2007 20:47:00 -0800
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?
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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