tommez Posted March 11, 2012 Posted March 11, 2012 hello, i'm running a dos program over putty, and i am using autoit to collect data from the dos program, since the logs give a warped version of the dos program for this i use "alt+space" to call the terminal menu, and then i let it send "o" to copy to clipboard and then i process it, sadly the window needs to be active to let the windowmenu pop up effectively i have noticed it just send space and o while the window is NOT active global $handle $handle=WinGetHandle("[CLASS:PuTTY]") ControlSend($handle, "","","!{space}") sleep(5) ControlSend($handle, "","","o") sleep(5) $raw=ClipGet() note: for all the other keycombinations controlsend DOES work, its just alt+space simultanously that fails to work when the putty window is NOT active
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