🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #1853

Eyedropper tool doesn't seem to be working

#1853
From: Ari_Valen_Levinson
Date: Sat, 17 Jul 2004 20:59
21 lines
1462 bytes
This isn't supposed to do anything yet except store the value of the color of pixel (0,0), but I cant even manage to do that. It gives me the error "eyeDropper is not a function". Can one of you kind souls help me out?

//Save the current preferences
var startRulerUnits = app.preferences.rulerUnits;
var startTypeUnits = app.preferences.typeUnits;
var startDisplayDialogs = app.displayDialogs;

//Set Photoshop to use pixels and display no dialogs
app.preferences.rulerUnits = Units.PIXELS;
app.preferences.typeUnits = TypeUnits.PIXELS;
app.displayDialogs = DialogModes.NO;

var docRef=app.activeDocument
var docWidth=docRef.width;
var docHeight=docRef.height;
var midW=docWidth/2;
var midH=docHeight/2;
//var eyeDropperPos=(midW,0)

	var backrgb = new Array(3);
	backrgb=eyeDropper(0,0);
Technical Details
Message-ID: <3bb514ac.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!62.253.162.219.MISMATCH!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,75581e08ae676cf2,start
X-Google-Attributes: gidf5839,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Ari_Valen_Levinson@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!62.253.162.219.MISMATCH!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.photoshop.scripting
Subject: Eyedropper tool doesn't seem to be working
Message-ID: <3bb514ac.-1@webx.la2eafNXanI>
Date: Sat, 17 Jul 2004 13:59:05 -0700
Lines: 24
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit