Skip to main content
bagonterman
Inspiring
August 9, 2012
Answered

Can you test the volume that is currnetly selected?

  • August 9, 2012
  • 1 reply
  • 1611 views

I want to know if the folder I have selected in bridge can be identified as the folder selected?

Like if(00318-000.selected==true){//then do something) something to that nature. I can test if a volume

var myMacHotFolder=(Folder(["/Volumes/Hotfolders/OdystarHotfolder/eDesign"]).exists);

What I want to know is can it be identified as being selected in Bridge? Then I want to get the name of it.

This topic has been closed for replies.
Correct answer Paul Riggott

You can get the current folder with :-

alert(app.document.presentationPath);

1 reply

Paul Riggott
Paul RiggottCorrect answer
Inspiring
August 9, 2012

You can get the current folder with :-

alert(app.document.presentationPath);

bagonterman
Inspiring
August 9, 2012

Sweet. Thank you Paul!