I have created a small AppleScript that queries Music App if it is playing, and if it is then it queries and gets artist and song name. Now I want to query some more information.
Where can I find the documentation regarding the available commands and information that I can use from Music app? For example, I now use something like:
set a to "Now playing: " & artist of current track & " - " & name of current track
what else can I use except artist of current track
or name of current track
? Where can I find what other information can I query/use?
Best Answer
Check out the Library in Script Editor.
Script Editor > Window > Library ⇧⌘L
You can also query the
properties
of thecurrent track
to see what else is available specifically to it, e.g.:On my system at the moment, it returns:
Also have a look at: About Scripting Terminology: