I am looking for the current path in image browser in Adobe Bridge CS4. I need the path in a terminal session. Internally, Bridge can be scripted with Javascript. The only interface to this mechanism is to be going through Applescript like this:
set js to "app.document.presentationPath;"
tell application "Adobe Bridge CS4"
set theResult to do javascript js
end tell
To run this command from a shell, I use osascript -e …
.
However, do javascript
does not return a value at all. Why?