Welcome,
Guest
. Please
login
or
register
.
May 19, 2013, 01:21:52 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Jan 9, 2012
John Beardsworth's new Lightroom site
Lightroom Solutions
27960
Posts in
5113
Topics by
2914
Members
Latest Member:
imthedamstar
The DAM Forum
Software Discussions
Scripting
filename to metadata, but not "title"
« previous
next »
Pages:
[
1
]
Author
Topic: filename to metadata, but not "title" (Read 3517 times)
thorirv
Newbie
Posts: 16
filename to metadata, but not "title"
«
on:
September 09, 2009, 04:57:33 AM »
i'm trying to find a way of automatically write my filenames to the files' metadata. i did a search, both here and a general google search, and all the options (scripts) i found wrote the filename in the iptc "title" field. since my filenames are somewhat boring as titles, i'd like to write them as keywords (to be able to title the pics i feel worth giving a title, without losing the filename from the meta).
does anyone know how this can be done?
oh, i use bridge (cs3) and iview media 3.1.2
best
thorir v.
Logged
thorir vidar
johnbeardy
Administrator
Hero Member
Posts: 1813
Re: filename to metadata, but not "title"
«
Reply #1 on:
September 09, 2009, 05:31:14 AM »
Easiest way would be in iView. What OS?
John
Logged
thorirv
Newbie
Posts: 16
Re: filename to metadata, but not "title"
«
Reply #2 on:
September 09, 2009, 05:35:34 AM »
oh, mac os 10.5.6
th
Logged
thorir vidar
johnbeardy
Administrator
Hero Member
Posts: 1813
Re: filename to metadata, but not "title"
«
Reply #3 on:
September 09, 2009, 05:38:06 AM »
OK, I tried something quickly for Bridge (cross platform) and it seems to work. Did you find my Filename to Title script? You would need to modify one of the "for loops" :
Code:
{ var thumb = thumbs[i];
var md = thumb.synchronousMetadata;
md.namespace ="http://purl.org/dc/elements/1.1/";
md.subject = md.subject + ',' + thumb.name ;
}
John
«
Last Edit: September 09, 2009, 05:39:39 AM by johnbeardy
»
Logged
thorirv
Newbie
Posts: 16
Re: filename to metadata, but not "title"
«
Reply #4 on:
September 09, 2009, 06:04:39 AM »
john (and thanks for taking the time to reply),
i did find yours, but backed out when i saw windows only.
i'll go back and have a look, and see if i can make it work (scripting is a bit ancient greek to me)..
best
th
Logged
thorir vidar
johnbeardy
Administrator
Hero Member
Posts: 1813
Re: filename to metadata, but not "title"
«
Reply #5 on:
September 09, 2009, 06:19:29 AM »
Thorir, my iView/ExMedia stuff in almost all Windows-oriented, but all my Bridge scripts are cross-platform.
The key bits of that code are lines 3 and 4 which first set the namespace where keywords are held, and then set the field (known as subject) to whatever it already is, plus the filename. I'm not sure what happens if you run it two or more times on the same file, though Bridge may be smart enough to work out that the filename is already shown as a keyword and doesn't need adding again. Have fun.
John
Logged
thorirv
Newbie
Posts: 16
Re: filename to metadata, but not "title"
«
Reply #6 on:
September 18, 2009, 02:34:20 AM »
john, thanks again.
fwiw, i ended up using your bridge script as it is. guess i found out that for me to become script litterate was too ..ehh, time consuming ,-)
best
thorir v.
Logged
thorir vidar
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> DAM Workshops
=> Comments about the book
=> General Discussion
=> Photo Blogs
=> GPS/ Geotagging
=> dpBestflow.org Discussions
-----------------------------
DAM Useful Stuff
-----------------------------
=> DAMuseful Video training
=> DAMuseful Software
=> DAM Useful CS3 Beta Products
-----------------------------
Software Discussions
-----------------------------
=> RAW File Converters
=> Lightroom
=> Choosing Software/Other DAM Applications
=> Aperture
=> Bridge/ Camera Raw
=> Media Pro & Expression Media
=> iView MediaPro
=> ImageIngester and ImageVerifier
=> idImager
=> Import From Camera
=> Scripting
-----------------------------
Workflow Discussions
-----------------------------
=> Multi-User Configurations
=> High Volume
=> Stock Photography
=> Wedding Workflow
=> Tethered Shooting
-----------------------------
DAM Stuff
-----------------------------
=> Loss and Recovery
=> Keywords and Controlled Vocabulary
=> Naming Issues
=> Migration Issues
=> Scans and Camera Scans
=> DNG
=> Software Discussions
=> Hardware Discussions
=> Backup Strategies and Tools
=> Data Validation
Loading...