Despair6 Posted June 20, 2007 Share Posted June 20, 2007 (edited) Trying to get Shift Ctrl and left click but this is not working. Shift ctrl left just locks the mouse but if i remove the shift and ctrl left works out fine. And is there a way i can map G15 keys? Sleep(500) Send("{LCTRL down}") Send("{LSHIFT down}") ; MouseClick("left down") Sleep(500) MouseClick("left down") Sleep(500) MouseClick("left down") Sleep(500) Send("{LCTRL up}") Send("{LSHIFT up}") Edited June 20, 2007 by Despair6 Link to comment Share on other sites More sharing options...
tannerli Posted June 20, 2007 Share Posted June 20, 2007 Why do you use ("left down") instead of MouseClick("left")? I'm not sure if it is even possible what you're trying... I've no possibility to test this at this computer but this one should work: Send("{LCTRL down}") Send("{LSHIFT down}") MouseClick("left") Send("{LCTRL up}") Send("{LSHIFT up}") About G15: Very nice keyboard, I own one too and already looked for a way to do a Send() or HotKeySet() with the special keys. I did'nt find anything. First you have to know the scancode of these keys, second you have to catch the scancodes of the users input.... Maybe with a hundred API functions but it would be too much work.... greetings tannerli Link to comment Share on other sites More sharing options...
Despair6 Posted June 20, 2007 Author Share Posted June 20, 2007 That worked thanks. and dang on the g15 keys that would make some codes so easy to use. 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