INSI Posted November 16, 2015 Share Posted November 16, 2015 Is there any way to ControlClick to X,Y? info tool dont have a control id. CAN i send a ControlClick to A X,Y? OR any other way to send a CLICK to X,Y with out moving mouse curse? Link to comment Share on other sites More sharing options...
AutoBert Posted November 16, 2015 Share Posted November 16, 2015 Try ControlClick($hYourWnd, "", "","left", 1, $iX, $iY) Link to comment Share on other sites More sharing options...
INSI Posted November 16, 2015 Author Share Posted November 16, 2015 Clicking the wrong position Link to comment Share on other sites More sharing options...
water Posted November 16, 2015 Share Posted November 16, 2015 Can you post the values you use?The help file says: "The x/y position to click within the control". I interpret this as being calculated from the the upper left corner (like in GUICreate) My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
sayuto Posted July 11, 2016 Share Posted July 11, 2016 On 16/11/2015 at 7:03 PM, water said: Can you post the values you use? The help file says: "The x/y position to click within the control". I interpret this as being calculated from the the upper left corner (like in GUICreate) On 16/11/2015 at 3:33 PM, INSI said: Clicking the wrong position same problem i use ControlClick("title", "", "","right",1,$posx,$posy) but wrong poision i use mouseclick then true Link to comment Share on other sites More sharing options...
AutoBert Posted July 11, 2016 Share Posted July 11, 2016 (edited) On 16.11.2015 at 9:33 AM, INSI said: Clicking the wrong position than adjust this, the coordinates your case are relative to window. Edited July 11, 2016 by AutoBert Link to comment Share on other sites More sharing options...
CrvzLee Posted July 13, 2016 Share Posted July 13, 2016 Hi, Try to use the Au3Info to look for the control coords within the control window Just Click and Drag the cursor to the coords that you want and then release. In the Au3Info Window, go to the Control Tab and look for ControlClick Coords. It should look something like this. Link to comment Share on other sites More sharing options...
ahmedabdallah Posted December 13, 2019 Share Posted December 13, 2019 I have an [ AHK (autohotkey) ] Script using controlclick x , y sleep 60 1::Pause 2::Exit question : how can I create one like this ? and with Auto it without using WinActivate("title") too I want it get I'd any application or game . focused on Conquer Online ... Link to comment Share on other sites More sharing options...
argumentum Posted December 13, 2019 Share Posted December 13, 2019 5 minutes ago, ahmedabdallah said: I want it get I'd any application or game . focused on Conquer Online no gaming stuff here. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted December 14, 2019 Moderators Share Posted December 14, 2019 ahmedabdallah, Firstly, you are coding with AutoHotKey, not AutoIt. Secondly, you are automating games - and you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why even if you are looking for an AutoIt solution you will get no help and this thread will now be locked. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts