Code: Select all
#InstallMouseHook ; required for code below to work
loop {
ToolTip GetKeyState("LButton", "P") ? "Down" : "Up"
Sleep 100
}
Code: Select all
loop {
ToolTip % GetKeyState("LButton", "P") ? "Down" : "Up"
Sleep 100
}
Code: Select all
#InstallMouseHook ; required for code below to work
loop {
ToolTip GetKeyState("LButton", "P") ? "Down" : "Up"
Sleep 100
}
Code: Select all
loop {
ToolTip % GetKeyState("LButton", "P") ? "Down" : "Up"
Sleep 100
}
Which subtitle do you think best fits your post?Ask For Help
Get help with using AutoHotkey and its commands and hotkeys
Subforums: Gaming, AutoHotkey v2 Help
Bug Reports
Report problems with documented functionality
AutoHotkey v2 Development
Discuss the future of the AutoHotkey language
You can work around it by using VK_LBUTTON (vk1) and VK_RBUTTON (vk2).Changed MouseClick, MouseClickDrag, LButton and RButton to be unaffected by button swap.
Source: (1) AutoHotkey v2 alpha (UPDATES) - Page 4 - AutoHotkey Community
A little humor98 bugs in the code. 98 bugs in the code. Take one down, patch it around. 99 bugs in the code.
Thanks for this, too.
Return to “AutoHotkey Development”
Users browsing this forum: No registered users and 60 guests