🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #103

Re: ResizeImage using dimensions read from text file

#103
From: Paul_R
Date: Tue, 10 Mar 2009 18:16
9 lines
847 bytes
You could do something like this...

 
largePrefsContents=largePrefsContents.split(","); 
if(isNaN(parseInt(str[0]))) { 
docRef.resizeImage(undefined,parseInt(str[1])); 
}else{ 
	docRef.resizeImage(parseInt(str[0]),undefined); 
} 
Technical Details
Message-ID: <59b82c0d.5@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
References: <59b82c0d.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,4e7306c2b43f139b
X-Google-Attributes: gidf5839,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Paul_R@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.photoshop.scripting
Subject: Re: ResizeImage using dimensions read from text file
Message-ID: <59b82c0d.5@webcrossing.la2eafNXanI>
Date: Tue, 10 Mar 2009 11:16:57 -0700
References: <59b82c0d.-1@webcrossing.la2eafNXanI>
Lines: 9
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit