I don't know - better ask in the respective forums.
Dependent on your use case, I'd also have a deeper look at BridgeTalk.
No, there isn't. As a workaround, you can send a script from Photoshop/Illustrator to InDesign via BridgeTalk and run doScript from there.
I wanted to make sure I didn't miss anything obvious before I start brainstorming...
1 person found this helpful
A quick outline… of my findings
doScript() given language JS, AS, VB as you already know.
AS & VB can play out recorded actions with do action but JS cannot.
No ScriptListener plug-in.
JS, AS & VB can play out recorded actions.
ScriptListener plug-in that records action manager or VB code.
a batch command.
CS4 & 5 have app.system() to command line (not listed in documentation)
Br is JS only and also has app.system()
So JS launching JS is a no-go (without using BrindgeTalk or what-have-you). Right?
Harbs, Im working with well out of date software. I've never tried File.execute() to see if that works, I don't think that you are going to be able to pass any info? In the CS2 version there was a whole host of scripts that resided in the startup folder of app support (Adobe stuff). In ESTK each app had a listing of addition functions for cross app communication. Execute script from File, Place File etc. If I recall correctly almost all of this was done via BridgeTalk messaging. Reading the file, eval send message etc. I got way out of my depth very quickly but they may provide some clues or a starting point for you. You may have to dig about as I don't think newer cs versions come with any of this installed? BridgeTalk I find tough I can get file objects and functions thru but the back & fourth info no but things are better now than my in my version. I cheat and go back to applescript just so's I can get it done for now…
From a speed point of view in AppleScript, a similar speed-up happens in AI if the script is declared a script object and "run script" is used. Nothing speeds up Photoshop...
> So JS launching JS is a no-go (without using BrindgeTalk or what-have-you). Right?
Harbs, what are you trying to achieve? ExtendScript has $.evalFile(), so that should be available cross application ...
With InDesign you'd only use doScript to cross language borders or to have those side effects on undo history.
Ah, yes. Good old eval...
That's the obvious answer I was missing!