Where can I see the entire list of commands for the "TextEdit" program? For example, there is a code:
tell application "TextEdit"
activate
make new document with properties {text:"XDXDXD"}
end tell
There are two commands in this code:
activate
make new document with properties {text:"XDXDXD"}
Where can I see all the available commands for the "TextEdit" program?
All commands for any given application can be viewed in its scripting dictionary (if it has one). This dictionary can be opened in the Script Editor from the File
menu. Common commands such as activate
and commands from the standard scripting additions can be viewed in the commands reference of the AppleScript Language Guide.