sdef Command Examples
Get or generate a scripting definitions (
sdef
) file from a scriptable application. More information: https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ScriptableCocoaApplications/SApps_creating_sdef/SAppsCreateSdef.html.
- Print the scripting definitions of the given application:
sdef {{/Applications/XCode.app}}