---
syntax: markdown
tags: [tldr, osx]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`
