Nope, can't be done.
Actually you sort of, kind of, can:
- Open the jsxbin file inside your favourite text editor.
- Remove all the line breaks, then copy the resulting long string (should be something like: "@JSXBIN@ES@2.0@MyBbyBn....."
- Create a new jsx file and on the first line add:
app.doScript("@JSXBIN@ES@2.0@MyBbyBn..."); //that long long string
- From the second line, add the functionality of your script
You can put a \ at the line end, rather than remove the line breaks.
Would this work if the compiled script had its own target engine?
Wow, thanks Vamitul!
Compiled scripts do not support #targetengine (this app.doScript trick how to make a jsxbin script run in a specified target engine)