I think ESTK is scriptable, no?
I believe that the Windows ESTK is scriptable, but NOT the Mac version. :-(
3 people found this helpful
Both Win and Mac are scriptable.
I did this one a number of years ago pretty much to prove to myself that it could be done.
Have fun with it. I'm 99% certain I did this for CS5 or CS4. I have no idea if it'll work for CS5.5/CS6. But if it doesn't, you'll have one heck of a good start on it.
Bob (been too long since I've posted... Hope all my ID scripting friends are doing great!)
This is just AMAZING!
Thanks for sharing this one.
Hey thanks, Mark.
I did this before I joined adobe. There is no documentation on how to tweak the ESTK. You have to plod ahead and figure it out.
But I'll tell you - when I was consulting ID projects for a liviing, some of those projects got huge. The one that parsed and rendered HTML in ID, for example had some 70 files. On click - everything that needs to jsxbin became jsxbin. It was worth the effort, believe me.
We have the same motivations!
Let do what the machine do best, then rest!.
Thanks for sharing
What your script brillantly ilustrates is the fact that we can add our own jsx files in the ESTK/Required folder, and then have them automatically executed after the built-in initialisations (00globals.jsx, 01startup.jsx, etc). I never realized this! This is a great way to customize/extend ESTK without polluting the native files.
Until now, I had to hack the native jsx to make ESTK meeting my needs (e.g. removing new lines in jsxbin, or calling app.compile through the shell using right-click…). Thanks to you I can now operate the right way
This is phenominal. Worked for CS6! Thanks you!!
Bob--Thank you so much! It works for CS5.5, too.
Very nice, thanks for sharing Bob Stucky, wonderful stuff!
Dave Saunders wrote
... had an Ignore Comments toggle?
I would think that maybe one could script a custom find change panel in a similar way that the batch binary script extends the ESTK.
No idea whatsoever of how to actually do it. One would have to get access to the script text and do a regex on it,
Anyone here have any ideas?
Thanks awfully for this, Bob. I've used it for years and enjoyed it--and found a few quirks, at least in my setup [ID CS 5.5 on Win 7], that have simple work-arounds.
Issue 1: The script wouldn't export anything when the binaries were to overwrite files already in .\bin.
Solution: Export one script manually, then immediately run 'Batch Export to Binary' and all the rest of the scripts get converted lickety-split.
Issue 2: When using include files named similarly in two different directories of scripts, include files from the first directory are included when batch exporting from the second directory.
Solution: Restart the ESTK before running the batch export script on a different set of scripts.
Absolutely awesome. Thank you so much!