Re: Why is AS so poorly documented?
Re: Why is AS so poorly documented?
- Subject: Re: Why is AS so poorly documented?
- From: Gary Lists <email@hidden>
- Date: Tue, 22 Jul 2003 19:28:58 -0400
On or about 7/22/03 6:58 PM, Michael Superczynski wrote:
>
How do you all discover the "hidden" pieces of AS?
The AppleScript Language Guide (ASLG in list parlance) can be found at:
<
http://developer.apple.com/documentation/AppleScript/Conceptual/AppleScript
LangGuide/index.html>
This document covers the form and syntax of the language, as well as much of
the Finder (there is also a Finder Guide, but it is not updated to X,
AFAIK).
As for the "other commands", well, those are implemented by each specific
application -- or they are not. Meaning that each application may offer
scripted access to its own set of commands, properties, classes and so
forth, depending on the application.
You wouldn't expect, for example, a word processor to know what "recipient
of current message" was...that would be in the application specific
AppleScript offerings.
To get to those things, simply use any script editor to "open" the
application -- either by dragging the application to your chosen script
editor's icon or by using the Open menu and the selecting the application
you wish to script.
If said application is scriptable, you will find that a "dictionary" opens
and you can see all of the available AppleScript that _that application_
adds to the available pool.
Some applications, you will find, have little or nothing there -- those are
not, or are minimally, scriptable.
The thing that one needs to get one's head around is the way to then
"interpret" the dictionary, based on the knowledge provided in the ASLG,
where you will find how to represent records and properties and all that
such in the AS syntax.
The ASLG is also a bit dated regarding some now-current commands and such,
but as for the language and its structure, it is sufficient -- and free in
HTML or PDF form.
--
Gary
_______________________________________________
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.