Does anybody have a C library function that does the equivalent of AppleScript "Tell application X to open Y"? I'm not using cocoa, just plain old C, and ideally I would like to be able to do this from a commandl ine application that has no GUI interface.
This doesn't have to be fancy, it would be all right if I don't even wait for the success-or-failure response. Just needs to send the right Apple event.
I think by far the simplest solution would be to issue a system call to the
osascriptcommand line utility.