kyleg Posted March 25, 2008 Share Posted March 25, 2008 Autoit developer or others, I had been calling autoit3 exe files from a timeline software for sending keystrokes, but want to do the sendkeys action for hotkey triggering natively. The current method used is WH_JOURNALPLAYBACK hook and send keys. It has been unsuccessful for the listening program I am using (which is another program). Autoit, however does work fine for the listening program and I was wonder what the method is that autoit uses for sending its hotkeys? Thanks Kyle Link to comment Share on other sites More sharing options...
herewasplato Posted March 25, 2008 Share Posted March 25, 2008 ...or others,...I'm definitely in the "or others" group :-)Maybe you can ferret it out in the old source code http://www.autoitscript.com/forum/index.ph...ost&p=59359That kind of stuff is way over my head. [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
kyleg Posted March 25, 2008 Author Share Posted March 25, 2008 thanks!!.... I poked around about in all those file but nothing stood out there. was just looking for the function breakdown. Yea this might be a question for the or one of the developers of autoit. Maybe I was looking at the wrong stuff? Also I can not edit my post (maybe because I am new to the forum still?) but the last line in my origninal post should read. "Autoit, however does work fine for the hotkey listening program and I was wondering what the windows call method is that Autoit uses for its "send" function that sends keystrokes out"? Kyle Link to comment Share on other sites More sharing options...
Richard Robertson Posted March 25, 2008 Share Posted March 25, 2008 SendInput is used to add keystrokes/mouse miscellanea to the input for the operating system. Link to comment Share on other sites More sharing options...
LarryDalooza Posted March 25, 2008 Share Posted March 25, 2008 Send() and MouceClick() are keybd_event and mouse_event APIs and ControlClick() ControlSend() use SendMessage API. Lar. AutoIt has helped make me wealthy Link to comment Share on other sites More sharing options...
kyleg Posted March 26, 2008 Author Share Posted March 26, 2008 Send() and MouceClick() are keybd_event and mouse_event APIs and ControlClick() ControlSend() use SendMessage API.Lar.Larry,Tried the keybd_event and no luck....next will try the sendinput as Richard suggested. That has to be it. the application I am targeting also accepts joystick button as well as keyhits for its hotkeys, so sendinput hopefully is the solution and what autoit is using.....keeping my fingers crossed. Kyle Link to comment Share on other sites More sharing options...
kyleg Posted April 3, 2008 Author Share Posted April 3, 2008 Tried the keybd_event and the sendinput as Richard suggested and no luck. I am targeting an app that also accepts joystick button as well as keyhits for its hotkeys, so I was hoping sendinput would be the solution and would be similar to what autoit is using. Is there any other ideas? Is there a directX sendinput or something? maybe the autoit sendkey send's that one to cover everything? Really confused as to the method autoit uses that works....Actually surprised that the keybd_event and the sendinput did not work Kyle Link to comment Share on other sites More sharing options...
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