views:

42

answers:

3

Hi

As the title suggests, is it possible to capture system-level keystrokes? Any help or pointers will be appreciated!!

+1  A: 

You mean while the app doesn't have focus?

This isn't implemented in AIR currently, but is in the wishlist.

Gregor Kiddie
Yeah, that's right... well, i know it can't be done with AIR directly, but do you know of any cross-platform libraries for keystroke capturing?
Danny Kopping
I don't know of a cross platform one, there's plenty of Windows ones out there... Google about for "Hot Key" applications
Gregor Kiddie
Thanks Gregor... i'll look into it
Danny Kopping
A: 

Danny and myself are working on this project together.

Would it be posssible to use another cross platorm app that can run on Windows, OSX and Linux which can capture keystroke events in while runnning in the background and then tell AIR that a key has been pressed?

jerome
+1  A: 

You can do this in Flex using NativeProcess once it's added. Check out AIR 2.0 Native Process on gotoandlearn.

Mahir
Hi MahirYes i guess we'll have to go that route.Thanks!
Danny Kopping