Cybergon Posted August 17, 2011 Posted August 17, 2011 (edited) Hey guys. Sorry for the recent incident on that old thread, but I really wanna know how to do this. So I need to assign a value to a certain variable by hitting a hotkey, typing in the value and pressing enter. The sensible way to do this is by using the inputbox function, but it has the inconvenience of getting over whatever other window you have open. I was thinking maybe put the box in a hidden location, but it didn't seem like an elegant solution since it takes away the focus from the targeted program. The problem is actually typing in the value and get it into the variable, and without the interface, this comes a bit too close to keylogger territory. Well at least keystrokes in this script should be blocked out or "absorbed", if you will, so this should be a considerable difference. Any ideas? Or should I bend over for the banhammer? Edited August 17, 2011 by Cybergon
Developers Jos Posted August 17, 2011 Developers Posted August 17, 2011 this comes a bit too close to keylogger territory. Correct.Or should I bend over for the banhammer? correct again ... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Cybergon Posted August 17, 2011 Author Posted August 17, 2011 Welp. Could you let me off with a warning, officer?
Developers Jos Posted August 17, 2011 Developers Posted August 17, 2011 Welp.Could you let me off with a warning, officer? Guess you just proved you are still able to post .... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Shaggi Posted August 17, 2011 Posted August 17, 2011 Maybe take a look at _WinAPI_SetWindowsHookEx() and the related example in the helpfile? Ever wanted to call functions in another process? ProcessCall UDFConsole stuff: Console UDFC Preprocessor for AutoIt OMG
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