Re: Photoscripting IPTC captions.
Re: Photoscripting IPTC captions.
- Subject: Re: Photoscripting IPTC captions.
- From: "Mohamed Shams" <email@hidden>
- Date: Sat, 12 May 2001 03:27:47 -0400
>
set captionInfo to current document's file info
>
end tell
>
>
tell application "Finder"
>
display dialog captionInfo -- THIS FAILS CAN'T MAKE STRING
>
end tell
This will fail because file info is returned as a record not as a single
text variable... The file info record consists of many fields, and you would
want to decide which field(s) you want to retrieve and do this for example
(added to your existing script)
set bylinetxt to byline of captionInfo
display dialog bylinetxt