ken82m Posted November 28, 2008 Share Posted November 28, 2008 (edited) EDIT: I managed to get it by modifying another UDF I had.http://www.autoitscript.com/forum/index.php?showtopic=85171Thanks,Kenny Edited November 28, 2008 by ken82m "I believe that when we leave a place, part of it goes with us and part of us remains... Go anywhere, when it is quiet, and just listen.. After a while, you will hear the echoes of all our conversations, every thought and word we've exchanged.... Long after we are gone our voices will linger in these walls for as long as this place remains." Link to comment Share on other sites More sharing options...
oMBRa Posted November 28, 2008 Share Posted November 28, 2008 search in the help file for: ''_WinAPI_SetWindowsHookEx '' Link to comment Share on other sites More sharing options...
ken82m Posted November 28, 2008 Author Share Posted November 28, 2008 ahh ok thanks I'll see if I can figure that one out Thanks. "I believe that when we leave a place, part of it goes with us and part of us remains... Go anywhere, when it is quiet, and just listen.. After a while, you will hear the echoes of all our conversations, every thought and word we've exchanged.... Long after we are gone our voices will linger in these walls for as long as this place remains." Link to comment Share on other sites More sharing options...
ken82m Posted November 28, 2008 Author Share Posted November 28, 2008 (edited) Damn all that searching for the DLL and it was built into the api functions. One question, I found these in WinAPI.au3 Global Const $KF_EXTENDED = 0x100 Global Const $KF_ALTDOWN = 0x2000 Global Const $KF_UP = 0x8000 Global Const $LLKHF_EXTENDED = BitShift($KF_EXTENDED, 8) Global Const $LLKHF_INJECTED = 0x10 Global Const $LLKHF_ALTDOWN = BitShift($KF_ALTDOWN, 8) Global Const $LLKHF_UP = BitShift($KF_UP, 8) There is none for the "windows" keys Does anyone know what I would set a variable to for them Thanks, Kenny Edited November 28, 2008 by ken82m "I believe that when we leave a place, part of it goes with us and part of us remains... Go anywhere, when it is quiet, and just listen.. After a while, you will hear the echoes of all our conversations, every thought and word we've exchanged.... Long after we are gone our voices will linger in these walls for as long as this place remains." Link to comment Share on other sites More sharing options...
oMBRa Posted November 28, 2008 Share Posted November 28, 2008 add this to the script in the case statement to catch win key: Case BitOR($flags, 1) Link to comment Share on other sites More sharing options...
ken82m Posted November 28, 2008 Author Share Posted November 28, 2008 (edited) that did it thanks man i just added return 1 to that case you gave me Case BitOR($flags, 1) ConsoleWrite("$WINKEY Down" & @LF) return 1 something strange though, the windows key gets stuck down after hutting the start button while the script is running hitting R by itself for exmaple bring up run I only noticed because it was still running when I started typing this reply. Thanks, Kenny Edited November 28, 2008 by ken82m "I believe that when we leave a place, part of it goes with us and part of us remains... Go anywhere, when it is quiet, and just listen.. After a while, you will hear the echoes of all our conversations, every thought and word we've exchanged.... Long after we are gone our voices will linger in these walls for as long as this place remains." Link to comment Share on other sites More sharing options...
oMBRa Posted November 28, 2008 Share Posted November 28, 2008 that did it thanks man i just added return 1 to that case you gave me, magic something strange though, it shouldn't be a problem in this caseafter I hit the windows key during the script the letter M stops working....I only noticed because it was still running when I started typing this reply.Thanks,KennyHave u tried to delete that ''return 1'' u have added? Link to comment Share on other sites More sharing options...
ken82m Posted November 28, 2008 Author Share Posted November 28, 2008 (edited) I managed to modify another UDF I dug out which works perfectly.http://www.autoitscript.com/forum/index.php?showtopic=85171But thanks for all your help Kenny Edited November 28, 2008 by ken82m "I believe that when we leave a place, part of it goes with us and part of us remains... Go anywhere, when it is quiet, and just listen.. After a while, you will hear the echoes of all our conversations, every thought and word we've exchanged.... Long after we are gone our voices will linger in these walls for as long as this place remains." 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