If you want to continue with your choice UI, I'd first decide whether to use AppleScript at all - or use the command line of ESTK instead. Unlike plugin programming with XCode where you have to restart the application for every other build of your executable plugin, this step is only needed once in a while. If you go the "id" way, the already running process is preferred. Instead of bothering, I just launch the correct version myself. Others will have MiddleEast versions installed in parallel. In other words, I also have multiple copies of InDesign, even with the same major version. Here's another problem: In ESTK the same versions are lumped together in one target id, so it is sheer luck whether ESTK launches the one you intended.In my case that could be the latest US English debug build of InDesign CS4, or either the English or German localization of CS5.5. Did you know you it is pretty usual to launch multiple InDesign Server instances in parallel processes? It should also mention InDesign CS4 and Server CS4 which are still installed, but those installations are screwed up anyway, and ESTK is notorious in finding InDesign Server instances. My ESTK target dropdown right now has 31 entries, 3 of them InDesign versions CS5, 5.5 and 6 and that is on a machine without any CC. For completeness sake you should actually also consider something similar, there are also ExtendScript scripters that will want to target InCopy, Illustrator, Bridge etc. I haven't yet tried your Sublime plugin but assume that you try to mimic ESTK's target dropdown.īefore we get too deep into that problem - and I don't yet have the answer - I want to question whether it is worth the effort at all.ĮSTK enumerates the ExtendScript target applications through some private registry of target names that include the version number, somewhere down in the guts of the "BridgeTalk" subsystem. This is my first python project, i am just beginning to learn it, so go easy on me If this can be replicated, it opens up the possibility of using ST3 as a full debugger for Indesign (breakpoints - actually those can be implemented even now, without brigetalk, step into etc.) Studying the jsx files in ESTK's folder it became clear that estk uses the bridgetalk for communicating with indesign.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |