INSI Posted November 16, 2015 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?
AutoBert Posted November 16, 2015 Posted November 16, 2015 Try ControlClick($hYourWnd, "", "","left", 1, $iX, $iY)
water Posted November 16, 2015 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: Reveal hidden contents UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
sayuto Posted July 11, 2016 Posted July 11, 2016 On 11/16/2015 at 12: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) Expand On 11/16/2015 at 8:33 AM, INSI said: Clicking the wrong position Expand same problem i use ControlClick("title", "", "","right",1,$posx,$posy) but wrong poision i use mouseclick then true
AutoBert Posted July 11, 2016 Posted July 11, 2016 (edited) On 11/16/2015 at 8:33 AM, INSI said: Clicking the wrong position Expand than adjust this, the coordinates your case are relative to window. Edited July 11, 2016 by AutoBert
CrvzLee Posted July 13, 2016 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.
ahmedabdallah Posted December 13, 2019 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 ...
argumentum Posted December 13, 2019 Posted December 13, 2019 On 12/13/2019 at 11:20 PM, ahmedabdallah said: I want it get I'd any application or game . focused on Conquer Online Expand no gaming stuff here. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
Moderators Melba23 Posted December 14, 2019 Moderators 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: Reveal hidden contents 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
Recommended Posts