Code: Select all
#MaxHotkeysPerInterval 100
Loop
XButton1::Space
Loop
XButton1 Up::send {Space Up}
Is there a way of making Xbutton1 act as though I'm holding the space bar so long as I'm holding it in?
Code: Select all
#MaxHotkeysPerInterval 100
Loop
XButton1::Space
Loop
XButton1 Up::send {Space Up}
Code: Select all
!Right::Space
It seems what I was looking for is this,MaxAstro wrote:Do you mean mapping left and right arrow on the keyboard? That's fairly easy. For example:If you mean mapping the new buttons on the mouse, that could be tricky. You might see if XButton1 or XButton2 work - with many mouses that is what the fourth or fifth buttons are recognized as.Code: Select all
!Right::Space
Otherwise, I know there's a trick to figure out what AHK "sees" when the mouse button is clicked, but I don't remember it off the top of my head.
Code: Select all
#MaxHotkeysPerInterval 100
Loop
XButton1::Space
Loop
XButton1 Up::send {Space Up}
Users browsing this forum: No registered users and 381 guests