Jump to content

Help with a send command.


Recommended Posts

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
Link to comment
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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...