AppleScript. Tell application "TextEdit" - the syntax of all commands.

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?

Answered by red_menace in 761471022

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.

Accepted Answer

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.

red_menace, thank you, there is such a thing for TextEdit, but I'm busy with other things right now and I don't know if I can figure it out.

AppleScript. Tell application "TextEdit" - the syntax of all commands.
 
 
Q