colinwalker
colinwalker

Iā€™ve been thinking about learning AppleScript but am wondering:

is it really worth it, and what are some good online resources?
|
Embed
eli
eli

@colinwalker doesnā€™t seem to currently support AppleScript, but learnxinyminutes is always one of the first places I look when Iā€™m playing with a new language or tool.

|
Embed
colinwalker
colinwalker

@eli Cool thanks. Nothing fancy to begin with, just automating local stuff and binding it to keyboard shortcuts.

|
Embed
craigmcclellan
craigmcclellan

@colinwalker Would keyboard maestro be easier for that kind of thing?

|
Embed
johnjohnston
johnjohnston

@colinwalker fastscripts is a great app for running AppleScripts & addingkeyboard shortcuts. Alfred is useful too. AppleScript: The Language of Automation might be good for learning.

|
Embed
MrHenko
MrHenko

@colinwalker As far as I know, these days anything in macOS thatā€™s scriptable works with both AppleScript and JavaScript so I donā€™t think itā€™s worth the trouble anymore.

|
Embed
hutaffe
hutaffe

@colinwalker Itā€˜s also a question of what is fun for you. AppleScript might not be the latest hype, but I always enjoy using it, maybe because itā€™s so weird sometimes. macosxautomation.com/ should be a good place to check out.

|
Embed
colinwalker
colinwalker

@craigmcclellan @johnjohnston Iā€™ve had a quick look at both Keyboard Maestro and Fastscripts already, thanks.

|
Embed
colinwalker
colinwalker

@MrHenko Ah, but that assumed my JavaScript is up to scratch šŸ˜‰ (itā€™s been a while) but then youā€™ve still got to learn the object model.

|
Embed
colinwalker
colinwalker

@hutaffe Thanks, Iā€™ll take a look at that.

|
Embed
marramgrass
marramgrass

@colinwalker Doesn't really count as an online resource, probably, but this book is very good. And definitely wasn't Ā£17.99 when I bought my hardcopy šŸ˜Æ

|
Embed
MrHenko
MrHenko

@colinwalker True, and the object model of macOS automation can be really confusing but the part that always trips me up is AppleScript itself. That being said, I've never written a single line of macOS automation in JavaScript.

|
Embed
In reply to
colinwalker
colinwalker

@vasta Thanks šŸ™ Yes, Thatā€™s been a popular suggestion. Iā€™ve also found a free ebook I can flick through on my phone for revision purposes.

|
Embed