Copy link to clipboard
Copied
I am trying this but its not working.
var bt = new BridgeTalk;
bt.target = "photoshop-12.0";
var crud="try{doAction('2012 Design BW','Design' );}catch(e){}";
bt.body =crud;
bt.send();
photoshop works but when I try and version it. Nothing happens.
var bt = new BridgeTalk;
"photoshop-60.032"
bt.target =;
var crud=try{doAction('2012 Design BW','Design' );}catch(e){};
bt.body =crud;
bt.send();
Ok so I thought it worked before. I think it works now. I will have to keep my fingers crossed. I changed the target to photoshop-60.032
Copy link to clipboard
Copied
Ok. Found it already. This works.
bt.target = "photoshop","13";
Copy link to clipboard
Copied
Yes you can target which every versions of the apps are installed as you have found… What I would add is you have wrapped your script in an unhandled try/catch… I would prefer to NOT do this and handle the error with the bridgetalk message onError()
Copy link to clipboard
Copied
Would you wrap it in a function?
Copy link to clipboard
Copied
I am also now wondering if this really works. I may have made a mistake and run this from the CS6 STK. Because when I run this now it keeps opening Photoshop CS5 when it should target 6. ??
Copy link to clipboard
Copied
var bt = new BridgeTalk;
bt.target = "photoshop","13";
var crud="try{doAction('2012 Design BW','Design' );}catch(e){}";
bt.body =crud;
bt.send();
This worked. I am not sure the variable that has changed. But now its not working? It keeps opening Photoshop CS5. Ugg.
So I open a file and its in CS6 and then it trys to run this action in 5.
I am also no longer getting a result of true. It is now false.
Copy link to clipboard
Copied
var bt = new BridgeTalk;
"photoshop-60.032"
bt.target =;
var crud=try{doAction('2012 Design BW','Design' );}catch(e){};
bt.body =crud;
bt.send();
Ok so I thought it worked before. I think it works now. I will have to keep my fingers crossed. I changed the target to photoshop-60.032