🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18371

AS - Color space lost

#18371
From: Fernando G. Jensen
Date: Thu, 03 Apr 2003 12:33
11 lines
1224 bytes
The following script returns the color space of an image (RGB, CMYK). While working in Script Editor (latest version) the value returned is RGB, but when the script is saved as an application the value returned is <<constant e085>>. This also happens when trying to collect the same information in Photoshop .. any ideas?

tell application "InDesign 2.0.2"
	tell document 1
		set fileColorSpace to color space of image 1 of item 1 of selection
		set theColorSpace to fileColorSpace as string
	end tell
end tell

Thanks
Fernando
Technical Details
Message-ID: <1de8946f.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,da987bc970ef8698,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-04-03 04:37:54 PST
From: "Fernando G. Jensen" <fgj@eniro.dk>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: AS - Color space lost
Message-ID: <1de8946f.-1@WebX.la2eafNXanI>
Date: Thu, 3 Apr 2003 04:33:53 -0800
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit