Skip to main content
Inspiring
February 5, 2014
Answered

Is it possible to set presentationPath in Bridge?

  • February 5, 2014
  • 1 reply
  • 1025 views

I've tried almost everything I can think of to set presentationPath to the folder I want, but no matter what I do, it always gets set to "Desktop".

app.document.presentationPath="E:\Photoshoots";

app.document.presentationPath="/e/Photoshoots";

fold=new Folder("E:\Photoshoots");

app.document.presentationPath=fold.path;

app.document.presentationPath=fold; <---I know it's supposed to be a string, but I tried this anyway.

Yes, the folder "E:\Photoshoots" does exist.

I know this should work. I just can't see what I'm doing wrong.

This topic has been closed for replies.
Correct answer I have gone

No, you do not use presentationPath to change folders.

The command would be.

app.document.thumbnail = Folder("e/photoshoots");

This will then change the current folder to e/photoshoots

presentationPath is only used to give you the current path.

1 reply

Inspiring
February 5, 2014

You need to use thumbnail an example would be.

app.document.thumbnail = Folder(Folder.desktop + "/myfolder");

jugenjuryAuthor
Inspiring
February 5, 2014

Do you mean something like:

fold=new Folder("E:\Photoshoots");

fThumb=new Thumbnail(fold);

app.document.presentationPath=fThumb;

If so, I've tried that. It doesn't work either.

jugenjuryAuthor
Inspiring
February 5, 2014

The documentation for it is...

presentationPath property

presentationPath:String

The path to the content displayed in the Content pane.

Implementation

public function get presentationPath():String

public function set presentationPath(value:String):void

The value it holds and the value used to set it are both supposed to be of type String.