5 ms·
Does this still exist? And is it actually "widely used" by any MacOS apps?
by lopis 5y ago
Does this still exist? And is it actually "widely used" by any MacOS apps?
- duskwuff 5y agoStill exists, but support in modern macOS apps is pretty spotty. One app which does have surprisingly good AppleScript support is Music, which exposes the library as a fully featured OSA collection: tell application "Music" play (some track whose genre is "Rock" and duration < 240) end tell Unfortunately, the scripting dictionary is kind of old, and doesn't fully expose some newer features like "Up Next".
- ihuman 5y agoI'm surprised, since the dictionary has some apple music and icloud music library functionality. I expected it to expose "up next" as another type of playlist. I'm not sure if the same on desktop, but the iOS version of music allows you to control whats up next using Shortcuts. On the mac, you can control shortcuts with applescript using "Shortcuts Events", and shortcuts can run applescript. https://sixcolors.com/post/2022/01/shortcuts-applescript-terminal-working-around-automation-roadblocks/ https://sixcolors.com/post/2022/01/shortcuts-applescript-ter...