Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What can you do with AppleScript?

Everything I know about AppleScript I taught myself and was wondering if I missed any cool features. I know you can make the computer talk to and control applications but is there anything else it can do or is it time to move on to a new language?

like image 745
mtwisterr Avatar asked Apr 01 '10 04:04

mtwisterr


1 Answers

The coolest thing about Applescript I've recently discovered, is that you can script almost anything on your mac. So even application, which don't support Applescript natively, can be used in a workflow. This is possible, because you can just "press" buttons as if you're sitting on the computer.

tell application "GhostReader" to activate
tell application "System Events" to keystroke "n" using command down

I used this to copy and paste a website from Safari and have it read by GhostReader, a proprietary text to speech tool.

like image 191
hendrik Avatar answered Sep 25 '22 15:09

hendrik