The standard way of doing this is to use the Finder to drop the app on the Script Editor app. This will display the app’s scripting dictionary in a fancy browser window.
Try it out with TextEdit first, just so you know what to expect.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
You can also open an application’s scripting dictionary directly from the Script Editor, as it will try to load the executable file/script (or crash) if the dropped application doesn’t have one.
support [dot] apple [dot] com/kb/PH26956
That's actually just a MIDI processor. Really cool plugin but not an application scripter.
Thanks for the AppleScript tips. Turns out there isn't much in Logic Pro X. Only...
Application Object : The top level scripting object.
renderpreview method : Render an iLife Preview for a project
renderpreview [file] : Reference to the project
In general, the Pro Apps team has never seen any use in the kind of automation you're talking about. I've been trying for decades with no luck. Even told them I'd eat a deep-fried sock if they fixed that.
Adobe's not any better in the AV space. You may want to look at some of the stuff written by indie devs.