I am trying to make a command to open a chosen .jsx file inside the ESTK. I was trying to make an applescript string to be written and immediately executed with file.execute() (.scpt extension), but my file.execute() just opens the string up in an applescript editor, which I can compile and run from the editor and the script does work (sort of*). *meaning, it pops up the trust dialog if there's a #target illustrator in the document.
Anyways, I was looking to do the exact same thing as a Windows counterpart which I've already tested, where a .vbs file constructed thus, would work exactly as desired, opening up a .jsx file in the ESTK by doing a shell script object command in the .vbs.