Skip to main content
Known Participant
November 25, 2005
Question

Import from Camera - Preserve original name

  • November 25, 2005
  • 2 replies
  • 415 views
Hiya Bob (assuming this is your script)

I am finding with CR2 raw files that Bridge is freezing when I choose this option , even for small numbers of files eg 3. It may be the extension, I had to make one change in the script to work with CR2 in the first place, maybe it needs changing elsewhere.

I am interested in how the script actually does that writing to the XAP metadata, especially for raw files. I found the place in the script (around line 1377) - though I cannot see any raw file handling there.

Do you know if PS can do the same - it looks to me like it cannot.

Andrew
This topic has been closed for replies.

2 replies

Participant
December 1, 2005
I am trying to install "Import from Camera" scripting as specified by Peter Krogh. He supplied the script. However, it will not install because there is an error in line 39 where the variable called for there is not defined in what I have. Any suggestions?
Known Participant
November 25, 2005
Hi Andrew,

That's the place. With Bridge, you don't need any special handling for RAW files. Once you get the Metadata Object, it will write to the original file (for files like JPEG), or to a sidecar file (for RAW). You don't need to do anything special.

Have you updated to 1.0.3 yet? There has been a long standing issue about attempting to write metadata before the metadata object has been completely initialized. Many of the strange machinations you see in that script were attempts to ensure the metadata objects were fully initialized. There's about 3 or 4 different approaches in there, but even with all that, there were still occasional problems, especially on large files.

We've already put in the feature request for callbacks for the completion of thumbnail and metadata initialization.

I know they worked on the metadata routines, but I haven't had the chance to test it out yet.

One thing for certain, to get a metadata object, use "synchronousMetadata" as I do in that function. It's more reliable (especially in 1.0 - 1.0.2).

Wish I had a better answer for you. I don't know if PS can do it, as Bridge scripting is my game. I fart around with PS to make Bridge scripts, but am no expert.

Bob
Adobe Workflow Scripting