Sign in to follow this  
Followers 0
Despair6

Help with a send command.

3 posts in this topic

#1 ·  Posted (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 by Despair6

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

That worked thanks. and dang on the g15 keys that would make some codes so easy to use.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0