Help with something simple.

Does anyone know how to write this in c++? Thanks
-when i hit the g key on my keyboard it will
-send 1 on my keyboard, and right click 3 times
then it will
-send 2 on my keyboard, and right click 3 times
then it will
-send 3 on my keyboard and right click 3 times.
at that time the script will end.
-------------------------------------
EDIT; how can you fix "windowhandle" was not declared in this scope?
Thanks
Last edited on
Read about XSendEvent in Xlib documentation.
acutally i did. And i will be usuing sendMessage for this not sendevent. And I have my code pretty much worked out but I get a error of "windowhandle" was not declared in this scope
Topic archived. No new replies allowed.