Assign a keyboard shortcut to open a new browser window on macOS


Learn about AppleScript functions, actual and formal parameters, and NSAppleEventDescriptor — The holy grail.

So, here’s what happens when you pass Swift or Objective-C variables (Int, NSInteger, String, NSString, blah blah) to AppleScript.


Automator


Anselm Joseph

I often explore space.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store