Search found 7 matches

by Scriptor
Fri Nov 08, 2019 2:04 pm
Forum: Help Me
Topic: Illegal filepath. Miss ")". Why?
Replies: 9
Views: 192

Re: Illegal filepath. Miss ")". Why?

Kukurykus wrote:
Fri Nov 08, 2019 1:26 pm

Code: Select all

C:\Users\abcde\Desktop\temp
should be:

Code: Select all

"C:\\Users\\abcde\\Desktop\\temp"
Hands down - this is a more elegant solution :roll:
by Scriptor
Fri Nov 08, 2019 1:40 pm
Forum: Help Me
Topic: Illegal filepath. Miss ")". Why?
Replies: 9
Views: 192

Re: Illegal filepath. Miss ")". Why?

Hi! Try this - I've commented the changes I've done. var strtRulerUnits = app.preferences.rulerUnits; app.preferences.rulerUnits = Units.MM; var docRef = app.activeDocument; filePath = docRef.path; //var fileName = docRef.name.slice(".") var fileName = docRef.name.replace(/\.[^\.]+$/, ''); //Removes...
by Scriptor
Tue Oct 15, 2019 4:51 am
Forum: Help Me
Topic: Getting EXIF field "OriginalRawFileName"?
Replies: 9
Views: 578

Re: Getting EXIF field "OriginalRawFileName"?

Well that depends - if it's a .jpg that's exported from RAW it's present. But I don't really know all the rules about how it works yet - It seems to work for what I have in mind however! :)
by Scriptor
Tue Oct 08, 2019 1:03 pm
Forum: Help Me
Topic: Getting EXIF field "OriginalRawFileName"?
Replies: 9
Views: 578

Re: Getting EXIF field "OriginalRawFileName"?

Of course - credit to all of you; SuperMerlin, Stephen_A_Marsh and Kukurykus!

I can't find the field when trying to access it through Edit > Preferences > Metadata > Camera Raw. That's wierd.
However - it's visible here, if it helps;
Image

Have a nice day!
by Scriptor
Fri Oct 04, 2019 7:10 am
Forum: Help Me
Topic: Getting EXIF field "OriginalRawFileName"?
Replies: 9
Views: 578

Re: Getting EXIF field "OriginalRawFileName"?

Hey! The original Filename is displayed in "Adobe Bridge" > "Metadata field" > "Camera Raw" > "Raw Filename" This is the solution I went with if anyone's curious; if(documents.length){ if (ExternalObject.AdobeXMPScript == undefined) ExternalObject.AdobeXMPScript = new ExternalObject('lib:AdobeXMPScr...
by Scriptor
Thu Oct 03, 2019 5:11 am
Forum: Help Me
Topic: Getting EXIF field "OriginalRawFileName"?
Replies: 9
Views: 578

Re: Getting EXIF field "OriginalRawFileName"?

Hey!
Adobe Bridge > Metadata > Camera RAW > RAW Filename

Yes, there's a difference in the original name and the current name:/
by Scriptor
Tue Oct 01, 2019 12:16 pm
Forum: Help Me
Topic: Getting EXIF field "OriginalRawFileName"?
Replies: 9
Views: 578

Getting EXIF field "OriginalRawFileName"?

Hi! I need to be able to access the Raw Filename (as portrayed in Adobe Bridge) via javascript - how does one do this in the best way? Normally whenever I need access to any field within the EXIF/IPTC I use "activeDocument.info.title" or similar, but testing this with "activeDocument.info.OriginalRa...