🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #1778

Keyword IPTC data not taking an array or a string

#1778
From: Dave_Hulting
Date: Wed, 28 Jul 2004 18:54
8 lines
1152 bytes
I have a script that fails when I try to modify the keyword IPTC data field. The PS JS Guide indicates this field as an object, but both arrays and strings are objects, right?

With the array, I get the keywords entered, but they are in brackets, looking like one big keyword. With the string, I get "Error: Error #1229".

I've tried to make my own object with a .keyword attribute, but I get "TypeError:undefined is not an object".

Thanks in advance,
Dave
Technical Details
Message-ID: <3bb53dd3.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.netcologne.de!newsfeed-fusi.netcologne.de!news.zanker.org!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,7c00dd1a2bff6683,start
X-Google-Attributes: gidf5839,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Dave_Hulting@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.netcologne.de!newsfeed-fusi.netcologne.de!news.zanker.org!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.photoshop.scripting
Subject: Keyword IPTC data not taking an array or a string
Message-ID: <3bb53dd3.-1@webx.la2eafNXanI>
Date: Wed, 28 Jul 2004 11:54:05 -0700
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit