Is there a Terminal command for sending Apple Events?
As in, I want to send an arbitrary Apple Event to an app on my Mac, given its Class and ID, and maybe add an argument or two? The event is not in that app's Scripting Dictionary.
Wasn’t there some AppleScript syntax for that, for the case where you had a script but not the associated app? Anyone know what that was and if it works with osascript?