Skip to main content
October 6, 2009
Answered

How to grab a text from titlebar of Bridge window?

  • October 6, 2009
  • 1 reply
  • 725 views

I see that Bridge displays in Window title bar the name of selected folder or the name of collection displayed in content window. I need to grab that name. In IE of FF it would be easy: document.title; in Bridge this is undefined. In the old days I would use Windows API, having a handle, to get info about window. There has to be easier way. If not, how to make a call to Windows API from Bridge javascript?

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

You can get the current folder by..

alert(app.document.presentationPath);

It's all in the help files.

1 reply

Paul Riggott
Paul RiggottCorrect answer
Inspiring
October 6, 2009

You can get the current folder by..

alert(app.document.presentationPath);

It's all in the help files.