What applescript will a particular application accept?

I see many applications that can respond to messages such as this one.

tell application "Safari"
    return URL of front document as string
end tell

How can I request an application to find out which commands it will accept? Is there a tool for this?

+2
source share
1 answer

In the AppleScript editor, make an "Open Dictionary", select the application that interests you, and you will get a good browser that shows the commands and their documentation (if the developers decide to provide one).

+4
source

Source: https://habr.com/ru/post/1730573/


All Articles