Jump to content

Direct X and the keyboard


Recommended Posts

Im interested in, sending keyboard commands to an application without disturbing other applications.

i tried all functions of autoit to solve the problem, but it must be some how possible to send keys to an application directly even if it is minimized...

i tried send and controlsend, but it is a directx control therefore no real ctrlsettext usage ..

is someone so whise and clever to solve my problem?

$a=StringSplit("547275737420796F757220546563686E6F6C75737421","")
For $b=1 To UBound($a)+(-1*-1*-1)step(2^4/8);&$b+=1*2/40*µ&Asc(4)
Assign("c",Eval("c")&Chr(Dec($a[$b]&$a[$b+1])));''Chr("a")&"HI"
Next ;time_U&r34d,ths,U-may=get$the&c.l.u.e;b3st-regards,JRSmile;
MsgBox(0x000000,"",Eval("c"));PiEs:d0nt+*b3.s4d.4ft3r.1st-try:-)
Link to comment
Share on other sites

Im interested in, sending keyboard commands to an application without disturbing other applications.

i tried all functions of autoit to solve the problem, but it must be some how possible to send keys to an application directly even if it is minimized...

i tried send and controlsend, but it is a directx control therefore no real ctrlsettext usage ..

is someone so whise and clever to solve my problem?

I think there's a more advanced UDF for keysending to minimized windows. Take a search for it :)

Link to comment
Share on other sites

i already gave the search funktion a try ...

i even have found an example of hooking the directinput feature of directx here:

http://www.codeproject.com/useritems/Hooking_DirectX_COM.asp

but i can't get it to work with autoit.

$a=StringSplit("547275737420796F757220546563686E6F6C75737421","")
For $b=1 To UBound($a)+(-1*-1*-1)step(2^4/8);&$b+=1*2/40*µ&Asc(4)
Assign("c",Eval("c")&Chr(Dec($a[$b]&$a[$b+1])));''Chr("a")&"HI"
Next ;time_U&r34d,ths,U-may=get$the&c.l.u.e;b3st-regards,JRSmile;
MsgBox(0x000000,"",Eval("c"));PiEs:d0nt+*b3.s4d.4ft3r.1st-try:-)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...