RE: Photoscripting IPTC captions.
RE: Photoscripting IPTC captions.
- Subject: RE: Photoscripting IPTC captions.
- From: Mattias Jonsson <email@hidden>
- Date: Wed, 9 May 2001 09:02:54 +0200
>
hello,
>
I am trying to write a script that will extract the
>
caption
>
information (IPTC/NAA file info) from a picture that will
>
be uploaded to a website. My problem is that captions have
>
to be uploaded as a separate text file.
>
>
Why not use Graphic Converter?
--- --- ---
set thefile to choose file
tell application "GraphicConverter"
activate
open thefile
set theCaption to IPTC caption of window 1
close window 1
display dialog theCaption
end tell
--- --- ---
It's really simple to ad a few lines that gets the filename, creates a new
textfile and puts the caption in the text file and names the textfile to
whatever name the image has+.txt, or something like that.
/Mattias Jonsson
_________________________________
FRAMKOM, "Forskningsaktiebolaget
Medie- och Kommunikationsteknik"
Avdelningen fvr "Informationshantering
och Publiceringsformer"
Box 5637, SE 114 86 Stockholm
Drottning Kristinas Vdg 51
Tel: 08-453 57 02 (00)
Fax: 08-453 58 58
Mobil: 070-777 28 68
mailto:email@hidden
http://www.framkom.se/