SkillAgentSearch skills...

CatalystAppleScript

Demonstration of how to integrate AppleScript/Cocoa scripting into a Catalyst app

Install / Use

/learn @steventroughtonsmith/CatalystAppleScript
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

CatalystAppleScript

Trivial demonstration showing how to build support for AppleScript into a Catalyst app. Showcases multiple commands and variables that can be set/get, and passed arguments.

Prerequisites checklist:

  • Add NSAppleScriptEnabled to Info.plist
  • Add OSAScriptingDefinition to Info.plist and point it to your scripting definitions file
  • Craft a scripting definitions file (sdef). Note that scriptable variables have unique codes, types and access control r/rw
  • Define NSScriptCommand in your ObjC bridging header so that Swift can see it to subclass it

Screenshot

View on GitHub
GitHub Stars58
CategoryDevelopment
Updated9mo ago
Forks2

Languages

Swift

Security Score

72/100

Audited on Jul 2, 2025

No findings