tags:

views:

295

answers:

2

Looking to do something like this:

if leftmousebutton not depressed
    some other action

Does anybody know how I would go about coding that?

A: 

I don't know anything about autohotkey, but in the event the left mouse button is pressed down, set leftMouseButtonPressed = true, and when it is released, set leftMouseButtonPressed = false, and then in the if statement, just check if leftMouseButtonPressed.

eds
A: 

try this

GetKeyState, state, LButton 

if state = U
    some other action
whunmr