Re: AppleScript Commands With No Dictionary Entry
Re: AppleScript Commands With No Dictionary Entry
- Subject: Re: AppleScript Commands With No Dictionary Entry
- From: Claus Gerhardt <email@hidden>
- Date: Tue, 13 Nov 2007 06:14:15 +0100
Search in "Script Editor's" Help for "activate" and you will find it a
reference.
I would also recommend for Matt Neuburg's excellent book "Applescript".
Claus
On Nov 13, 2007, at 5:47, Paul Scott wrote:
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 (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
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