Skip to main content
Participant
September 3, 2008
Question

How do I set the value for the "fileUrl" in the "core" infoset, "immediate"

  • September 3, 2008
  • 3 replies
  • 571 views
I can't change the fileUrl for a thumbnail. Everytime I set the value to something else. It just changes back. Does anyone know how to do this? Is there a setter I don't know about?

I get the thumbnail like this:
var myThumb = app.document.getSelection()[0];

then change it like this:
myThumb.core.immediate.fileURL = "c:\\Test"

it returns this:
"c:\Test"

but after opening the thumbnail and going back up a directory, it changes back to the original. :(
This topic has been closed for replies.

3 replies

dfranzen_camera_raw
Adobe Employee
Adobe Employee
November 7, 2008
What do you mean by "create a project?" Bridge has no feature which creates anything called "a project". Version Cue uses "projects" as do various point-products in the Creative Suite, and some third-party scripts may use the term "project" for something. Without knowing what you are talking about I can't help, but I'm pretty sure you're going to have to seek a solution for how some other product, or a script works, not with Bridge.
Participant
November 4, 2008
Thanks for the reply David. The problem is that whenever you create a project, it's default location is in "My Documents", which our company has located over a network for easy backup. As you know, working with design files over a network is a no-no. So I was trying to come up with a way to change the default location.
dfranzen_camera_raw
Adobe Employee
Adobe Employee
November 4, 2008
You would only set a value in an infoset if you were actually implementing an ExtensionHandler and ExtensionModel. (A task not to be taken lightly.) If you're using a Thumbnail object, the infosets fields are read-only.

What the heck are you trying to do anyway--move the file? Try Thummbnail.moveTo().