Computer Science Canada

how do you simulate keyboard presses?

Author:  36002 [ Mon Nov 29, 2004 10:14 pm ]
Post subject:  how do you simulate keyboard presses?

Howdy folks. I am making an little application that will simulate keyboard presses (don't ask why, I just want to do it Smile besides if it works then it would be cool). Now, I have done some research.
http://custom.programming-in.net/articles/art9-1.asp?f=keybd_event,
[url]http://eric.aling.tripod.com/PB/tips/pbtip36.htm [/url], http://www.codeproject.com/system/keyboard.asp, etc. but (I am relaivley new to turing) how would I translate that to turing? If it is possible? I know that you can probably use Sys.Exec() in their somewhere... like Sys.Exec("rundll32.exe user32.dll") but is it possible to run 'functions' from that dll file?

Author:  Tony [ Mon Nov 29, 2004 11:09 pm ]
Post subject: 

not in turing, it doesn't have that kind of access available

Author:  36002 [ Tue Nov 30, 2004 3:17 pm ]
Post subject: 

ok thats what I was thinking, oh well


: