HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

sdef — Get or generate a scripting definitions (`sdef`) file from a scriptable application. More informatio

Submitted by: @import:tldr-pages··
0
Viewed 0 times
sdefcommandscriptingdefinitionscligetgenerate
macos

Problem

How to use the sdef command: 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>.

Solution

sdef — 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}}

Code Snippets

Print the scripting definitions of the given application

sdef {{/Applications/XCode.app}}

Context

tldr-pages: osx/sdef

Revisions (0)

No revisions yet.