Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #9991

Re: KeyUp event

From Szabolcs Horvát <szhorvat@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: KeyUp event
Date 2012-05-08 08:12 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <joakhi$njg$1@smc.vnet.net> (permalink)
References <jo757e$bt3$1@smc.vnet.net>

Show all headers | View raw


On 2012.05.07. 2:32, Vincent wrote:
> Is there any way to determine if a key is currently depressed, or to trigger an event when a key is released in Mathematica? Similarly to
>
> EventHandler[
>   InputField[""], {"KeyDown", "h"} :>  ( Print["h pressed"];)]
>
> only with the trigger being the release rather then the pressing?
>

This was cross posted on Mathematica.SE as well.  The following comment 
suggests this might not be possible directly in Mathematica:

http://mathematica.stackexchange.com/questions/5246/detecting-keyup-events#comment14383_5246

-- 
Szabolcs Horvát
Visit Mathematica.SE:  http://mathematica.stackexchange.com/

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

KeyUp event Vincent <sheeplane@gmail.com> - 2012-05-07 00:32 +0000
  Re: KeyUp event Szabolcs Horvát <szhorvat@gmail.com> - 2012-05-08 08:12 +0000

csiph-web