Skip to main content
dublove
Legend
Nov 4, 2026 5:38 AM UTC
Answered

Has anyone solved the problem of open images with a specified path of Photoshop?

Hello everyone.

I have three versions of Photoshop, and sometimes I need to use one version to work better.
I have always wanted to open the image from the ID using the specified PS version.
Does anyone have a solution?
Or can we never avoid the constraints of new BridgeTalk()?

var item=app.selection[0];
var paths=item.itemLink.filePath;
openPathsInPhotoshop(paths);
unction openPathsInPhotoshop(paths) {
const DELIMITER = '###';
var photoshop = BridgeTalk.getSpecifier("photoshop");
if (!photoshop)
return alert("BridgeTalk couldn\'t find Photoshop.");

// send script via BridgeTalk
var bt = new BridgeTalk();
bt.target = photoshop;

// our variables
bt.body = '(#FN#)("#P#","#D#");'
.replace('#D#', DELIMITER)
.replace('#P#', paths.join(DELIMITER))
.replace('#FN#', openPaths);
};

 

    Eugene TysonCorrect answer
    Community Expert
    Nov 4, 2026 7:48 AM UTC

    You have a similar thread back in May
     

    What’s not working from here? Something else happeing?

    4 replies

    Eugene TysonCommunity ExpertCorrect answer
    Community Expert
    Nov 4, 2026 7:48 AM UTC

    You have a similar thread back in May
     

    What’s not working from here? Something else happeing?

    Translate
    dublove
    dubloveAuthor
    Legend
    Nov 4, 2026 9:51 AM UTC

    Sorry, I'm sad.

    I find it difficult to find my old posts.
    Perhaps after 2 years, there will be a great god making new discoveries.

    Translate
    Community Expert
    Nov 4, 2026 9:56 AM UTC

    No prob. Will we mark this one as answered then?

    Translate