JRSmile Posted May 4, 2007 Posted May 4, 2007 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:-)
BrettF Posted May 4, 2007 Posted May 4, 2007 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 Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
JRSmile Posted May 7, 2007 Author Posted May 7, 2007 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.aspbut 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:-)
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now