Skip to main content
Known Participant
July 23, 2021
Answered

Computer Path Can't access in Photoshop

  • July 23, 2021
  • 1 reply
  • 505 views

I have MK.txt File in "D" Drive, 

Inside Of MK.txt :- D:\BNN

 

I want to Open the Path in Photoshop :- "D:\BNN"

 

var testtextfile = new File("D:/MK.txt");

testtextfile.open('r');

var fileContentsString = testtextfile.readln();

alert(fileContentsString);

//I want open the path "fileContentsString" in Photoshop

 

 

This topic has been closed for replies.
Correct answer Kukurykus
testtextfile.close(), File(fileContentsString).openDlg()

1 reply

Kukurykus
KukurykusCorrect answer
Legend
July 23, 2021
testtextfile.close(), File(fileContentsString).openDlg()
MXKSAuthor
Known Participant
July 23, 2021

Ok @Kukurykus  I will try it...