Jump to content
Sign in to follow this  
Info

left/right shift in Hotkeyset does not work

Recommended Posts

Info

HotKeySet("{lshift}","_leftshift")
Func _leftshift()
    MsgBox(16,"asd","asd.")
EndFunc

does not work.

also, is there a way to record mouseclicks? something like hotkeyset("{leftmouse}")?

Edited by Info

Share this post


Link to post
Share on other sites
darkmaster071

Um, weird about the shift hotkey. Try looking in HotKey.au3... And you can detect mouse clicks with _IsPressed like so:

#Include <Misc.au3>

While 1
    If _IsPressed('01') Then  ;01 is left mouse click
        Send("1")
    EndIf
    Sleep(10)
    WEnd

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  

×