Hyflex Posted March 14, 2011 Share Posted March 14, 2011 (edited) I'm wanting to send a click on hotkey to a minimised window without WinActivate.I'm pretty sure it's controlClick what I have to useFollowing information is the exact coords and button what has to be pressed.>>>> Window <<<< Title: ManyCam Options Class: ManyCam_UI_Class Position: 961, 424 Size: 714, 581 Style: 0x16CA0044 ExStyle: 0x00010100 Handle: 0x0000000000010452 >>>> Control <<<< Class: Button Instance: 8 ClassnameNN: Button8 Name: Advanced (Class): [CLASS:Button; INSTANCE:8] ID: 1030 Text: Position: 437, 292 Size: 26, 31 ControlClick Coords: 13, 15 Style: 0x5001100B ExStyle: 0x00000004 Handle: 0x00000000000104C4 >>>> Mouse <<<< Position: 1414, 756 Cursor ID: 0 Color: 0x636F65EDIT:SolvedFor anyone wanting the script:HotKeySet("{PAUSE}", "ManyCamToggle") While 1 Sleep(100) WEnd Func ManyCamToggle() ControlClick("ManyCam Options", "", "[CLASS:Button; INSTANCE:8]") EndFunc Edited March 14, 2011 by XxXGoD Link to comment Share on other sites More sharing options...
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