🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #576

KeyboardState

#576
From: Bordac
Date: Wed, 14 Jan 2009 08:15
8 lines
921 bytes
Good day!
I wont that my script (main window of script) reacts on pressed key. (eg Up, Down, Right, Left).

How I can do this?

I think, that i should use class KeyboardState, but how create events handler? The window class has a methods Window.shortcutKey. How it works? How it uses?

Sorry for my English =)
Technical Details
Message-ID: <59b78287.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news2.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!tudelft.nl!txtfeed1.tudelft.nl!news4us.nl!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,afef4923a2aa81f,start
X-Google-Attributes: gidf5839,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bordac@adobeforums.com
Newsgroups: adobe.photoshop.scripting
Subject: KeyboardState
Message-ID: <59b78287.-1@webcrossing.la2eafNXanI>
Date: Wed, 14 Jan 2009 00:15:40 -0800
Lines: 11
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news2.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!tudelft.nl!txtfeed1.tudelft.nl!news4us.nl!webcrossing