Using applescript to control an application which does not support it

The only way I am aware of is using UI Scripting (old link but still useful) via the dictionary of an application called "System Events". In substance, this allow you to make a script that click on a given button or press a given key. Unfortunately, you'll need to activate Simfy to send the keystroke (but you can automate it and automate a switch to the preceding frontmost application as well).

Remote Buddy allow you to send a keystroke to an application without activating it. You can then trigger the Remote Buddy action via AppleScript. But that seems overkill here except if you use Remote Buddy for other things already.


I found two more useful resources:

  • "Controlling Applications with GUI Scripting" in Chapter 22 of Learn AppleScript: The Comprehensive Guide to Scripting and Automation on Mac OS X, Third Edition
  • UI Browser an application that reads out the accessibility framework text for the app you're trying to script