I'm not sure I even know how to ask my question right, I'm super ignorant at this point. When I did a search in Illustrator Scripting for "stdout" I got 0 results so hopefully this is a decent question.
I know that I can use appleScript to open illustrator, open files in illustrator, and run a script if I have it loaded into "/Applications/Adobe\ Illustrator\ CC\ 2015/Presets.localized/en_US/Scripts"
My question is, if that script or illustrator throw an error is there any way to get that error somewhere so I can handle it, instead of Illustrator just setting there with a dialogue up until a human notices.
Can I get that information to stderr, stdout, whatever in my scripting environment. What about alerts, can I redirect them?
If I open a file can I get Illustrator to confirm that the file is open and ready to be manipulated?
Basically I want to be able to say "Do a thing" and have Illustrator say back "I've done that thing".