Jump to content

Recommended Posts

Posted

I am trying to create an Alt+Click but each time i do it, it doesn't function as intended. This is what i was able to get to somewhat work. The problem is, after the code execute, ALT is still held down and i have to manually press Alt again to release it. Any help will greatly be appreciated

 

send("{LALT DOWN}")
MouseClick("left", 1274, 698)  
send("{LALT UP}")
Sleep(250)

 

Posted (edited)
23 minutes ago, boat_58 said:

It presses Alt but it does not click at the same time. I have tried it multiple times but it doesn't press it at the same time.

Press at the same time :

 

send("{ALTDOWN}")
send("{ALTUP}")
MouseClick("left", 1274, 698)  
Sleep(250)
Edited by ad777

none

Posted
17 minutes ago, Nine said:

Have you tried putting a sleep after send ?

Yes , i tried that after it didn't work. It still didn't alt click at the same time. It pressed Alt and then clicked right after but not the same time. The only way it seems to work is if i specify LALT Down, but then it doesn't release it with the LALT UP for some reason.

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
  • Recently Browsing   0 members

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