I have a binary that I want wrapped up as an Application, so I thought this was a good use case for AppleScript.
I want to automate how Script Editor lets you export an AppleScript as a .app bundle. This is what I have so far, I'm confused about how to read the libraries dictionary for the script editor.
tell application "Script Editor"
set command to "do shell script " & "\"APP_PATH\""
set innard to {contents: command}
set Tallgeese to make new document with properties innard
save Tallgeese as "application"
end tell