Article View: adobe.photoshop.scripting
Article #149Re: How to load color table in a indexed mode file??
From: xbytor
Date: Mon, 16 Mar 2009 14:03
Date: Mon, 16 Mar 2009 14:03
9 lines
1219 bytes
1219 bytes
> it shows an error "file is undefined" in the below code line:
> file.open("r");
Without looking at the code, the variable 'file' was either not assigned a valid
value or was not initialized at all. Or, it was misspelled, which I doubt. Put a
breakpoint on that line of code in ESTK and run the script. When the script
stops at that line, look at the 'Data Browser' panel to see if there are any
'File' objects in scope. If there are, 'file' should probably have been assigned
to one of them.
Technical Details
Message-ID:
<21D90C7032FD0172A6B5ABC5775DB69F@in.webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b806b8.-1@webcrossing.la2eafNXanI> <59b806b8.4@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,8878efe6e0d3c58e X-Google-Attributes: gidf5839,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: xbytor@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.photoshop.scripting Subject: Re: How to load color table in a indexed mode file?? Message-ID: <21D90C7032FD0172A6B5ABC5775DB69F@in.webcrossing.la2eafNXanI> Date: Mon, 16 Mar 2009 07:03:54 -0700 References: <59b806b8.-1@webcrossing.la2eafNXanI> <59b806b8.4@webcrossing.la2eafNXanI> Lines: 14 User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit