r/applescript • • Nov 02 '22

What can AppleScript do?

Hey! I’ve been curious about AppleScript for a while now, I know it’s supposed to automate tasks in macOS but I’d like to know what are its limits? what’s the most complex thing you can program with it? or some examples of useful automations with AppleScript

Thank you

9 Upvotes

16 comments sorted by

View all comments

Show parent comment

2

u/rlhamil Nov 03 '22

3rd parties can certainly write scriptable apps, although it takes some extra effort. Not all Apple apps are scriptable.

Even non-scriptable apps using Apple's GUI toolkits (rather than something cross-platform like Qt) can be sort of scripted, providing in effect fake keyboard input or mouse clicks to them. One can for instance select a menu bar item in a non-scriptable app.