Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

target specific version of psd from bridge talk.

Engaged ,
Mar 12, 2013 Mar 12, 2013

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.

TOPICS
Scripting
1.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Engaged , Mar 14, 2013 Mar 14, 2013

var bt = new BridgeTalk;
bt.target =
"photoshop-60.032";
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

Translate
Engaged ,
Mar 12, 2013 Mar 12, 2013

Ok. Found it already. This works.

bt.target = "photoshop","13";

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Mar 13, 2013 Mar 13, 2013

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()

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 13, 2013 Mar 13, 2013

Would you wrap it in a function?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 14, 2013 Mar 14, 2013

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. ??

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 14, 2013 Mar 14, 2013

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 14, 2013 Mar 14, 2013
LATEST

var bt = new BridgeTalk;
bt.target =
"photoshop-60.032";
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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines