PDA

View Full Version : Capture users move in system?



Anir
23rd September 2010, 10:21
Hi,
I've started programming in Qt4 in last year. Right now I'm searching for help with few problems:

- How can I capture users moves in system? How reconize active windows, clicked buttons (not only in my application)? Is there any function or method to do this?

Why I need this? I want to store all decisions that user make (after clicking REC in my program) and after few changes repeat them.

Thanks for help,
Anir

nish
23rd September 2010, 11:00
there is no way to do this in Qt. You can check out platform API for the rest.

Anir
24th September 2010, 10:45
OK, too bad.
Maybe there is possibility to write text into label in other program or integrate my program with other?

wysota
24th September 2010, 12:25
Yes. But you need to use the native API for that. Qt has a (good) policy of not poking with other programs. What you are trying to do is unportable anyway so it's fine to use the native API.