RobbyHelm 0 Posted July 23, 2019 I am new to AutoIt so please bear with me. I am trying to send a mouse click to coordinates in a window of a program. The script can read the window title correctly, but it won't send a mouse click to it. I have MouseCoordMode set to 0 of course. Here are some properties of the window in question: The window class is: Chrome_WidgetWin_1 The window info tool says the Visible Text is "Chrome Legacy Window", though I don't see that text anywhere. I have no problem activating the window with WinActivate, but again nothing happens with the mouse with MouseClick. What am I missing and how do I fix this? Thanks in advance! Share this post Link to post Share on other sites
Nine 995 Posted July 23, 2019 Welcome. First if you have read the forum, you would have noticed that asking for help without giving a runable script is not the best way to get results. I suggest you post your script using <> (before emoticon). Not much of a signature but working on it... Spoiler Block all input without UAC Save/Retrieve Images to/from Text Tool to search content in au3 files Date Range Picker Sudoku Game 2020 Overlapped Named Pipe IPC x64 Bitwise Operations Multi-keyboards HotKeySet Fast and simple WCD IPC Multiple Folders Selector GIF Animation (cached) Share this post Link to post Share on other sites
RobbyHelm 0 Posted July 23, 2019 Here is my script: < AutoItSetOption("MouseCoordMode", 0) AutoItSetOption("WinTitleMatchMode", 2) AutoItSetOption("PixelCoordMode", 0) WinActivate("Title") Sleep(200) MouseClick("left", 69, 609) > I have tried using the IUIAutomation MS framwork, but when I press ctrl+w with simple spy hovering over the window, it simply closes simple spy. Share this post Link to post Share on other sites
Nine 995 Posted July 23, 2019 Lol, I meant use this tool to post code. What is the application you are trying to automate ? "Title" does not give me much information !! Not much of a signature but working on it... Spoiler Block all input without UAC Save/Retrieve Images to/from Text Tool to search content in au3 files Date Range Picker Sudoku Game 2020 Overlapped Named Pipe IPC x64 Bitwise Operations Multi-keyboards HotKeySet Fast and simple WCD IPC Multiple Folders Selector GIF Animation (cached) Share this post Link to post Share on other sites
RobbyHelm 0 Posted July 23, 2019 Oops, here you go: AutoItSetOption("MouseCoordMode", 0) AutoItSetOption("WinTitleMatchMode", 2) AutoItSetOption("PixelCoordMode", 0) WinActivate("No Limit") Sleep(1000) MouseClick("left", 69, 609) Sleep(300) MouseClick("left", 66, 569) It is for an online poker window, I am trying to automate re-buying chips at the table. Share this post Link to post Share on other sites
Nine 995 Posted July 23, 2019 Sorry but it seems you also forgot to read the forum rules as game automation is not permitted here... Not much of a signature but working on it... Spoiler Block all input without UAC Save/Retrieve Images to/from Text Tool to search content in au3 files Date Range Picker Sudoku Game 2020 Overlapped Named Pipe IPC x64 Bitwise Operations Multi-keyboards HotKeySet Fast and simple WCD IPC Multiple Folders Selector GIF Animation (cached) Share this post Link to post Share on other sites
RobbyHelm 0 Posted July 23, 2019 It has nothing to do with automating actually playing the game, just a simple 2 click rebuy process. Does this mean no one can help me with this? Share this post Link to post Share on other sites
JLogan3o13 1,640 Posted July 23, 2019 Welcome to the AutoIt forum. Unfortunately 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 you will get no help and this thread will now be locked. See you soon with a legitimate question I hope. The Moderation team "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Share this post Link to post Share on other sites