Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Monitoring Users with SWT
Monitoring Users with SWT [message #458725] Wed, 20 July 2005 01:45 Go to next message
Eclipse User
Originally posted by: gregoire.diboula.gmx.net

Hello,

Could you tell me please, if it is possible via SWT to be informed
whenever a user presses a key (or the mouse) even if my application is
currently running in background?

Example of applications that do this are screen savers and Instant
Messaging applications. They wait a certain delay and carry some action
if no keypress occured. I would like to achieve such a behavior.

Special thank for any help.

Gregoire.
Re: Monitoring Users with SWT [message #458877 is a reply to message #458725] Mon, 25 July 2005 10:26 Go to previous messageGo to next message
Steve Northover is currently offline Steve Northover
Messages: 1636
Registered: July 2009
Senior Member
This has been asked for before and it falls a bit outside of the native
widget mandate.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=37061

"Gregoire Diboula" <gregoire.diboula@gmx.net> wrote in message
news:dbkodj$i3c$1@news.eclipse.org...
> Hello,
>
> Could you tell me please, if it is possible via SWT to be informed
> whenever a user presses a key (or the mouse) even if my application is
> currently running in background?
>
> Example of applications that do this are screen savers and Instant
> Messaging applications. They wait a certain delay and carry some action
> if no keypress occured. I would like to achieve such a behavior.
>
> Special thank for any help.
>
> Gregoire.
Re: Monitoring Users with SWT [message #459955 is a reply to message #458725] Sun, 21 August 2005 11:44 Go to previous message
Eclipse User
Originally posted by: peter.verycross.com

Try using a background thread or using the eclipse Job interface to detect
mousemoves or keyup events every n minutes etc.


"Gregoire Diboula" <gregoire.diboula@gmx.net> wrote in message
news:dbkodj$i3c$1@news.eclipse.org...
> Hello,
>
> Could you tell me please, if it is possible via SWT to be informed
> whenever a user presses a key (or the mouse) even if my application is
> currently running in background?
>
> Example of applications that do this are screen savers and Instant
> Messaging applications. They wait a certain delay and carry some action if
> no keypress occured. I would like to achieve such a behavior.
>
> Special thank for any help.
>
> Gregoire.
Previous Topic:How to get the text under mouse?
Next Topic:building SWT
Goto Forum:
  


Current Time: Thu Aug 21 18:20:32 EDT 2014

Powered by FUDForum. Page generated in 0.01554 seconds