kawumm3000 1 Posted July 14 Share Posted July 14 Hello, is there a way to click on of the side buttons (or thumb button) on the mouse? Looks like MouseClick doesn't have the option. Thanks Link to post Share on other sites
Nine 1,524 Posted July 14 Share Posted July 14 (edited) Thumb button is $XBUTTON1 and small finger button is $XBUTTON2. Here an example with thumb button : #include <WinAPISys.au3> Local $hWnd = WinGetHandle("[CLASS:CabinetWClass]") ConsoleWrite($hWnd & @CRLF) WinActivate($hWnd) WinWaitActive($hWnd) Global Const $XBUTTON1 = 1, $XBUTTON2 = 2 _WinAPI_Mouse_Event($MOUSEEVENTF_XDOWN, 0, 0, $XBUTTON1) _WinAPI_Mouse_Event($MOUSEEVENTF_XUP, 0, 0, $XBUTTON1) Edited July 14 by Nine kawumm3000 1 Not much of a signature but working on it... Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search content in au3 files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector GIF Animation (cached) Screen Scraping Link to post Share on other sites
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now