Jump to content

TheTester

Members
  • Posts

    7
  • Joined

  • Last visited

TheTester's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Check if a (series of) white pixel(s) is in that area,then mouseclick in the position of the pixel.
  2. Asuming I mousemove into the pixel,what do I do next?
  3. $coord = PixelSearch( 464,306, 468, 306, 0xFFFFFF ) ; Checks for a white pixel in these coord If Not @error Then MsgBox(0, "X and Y are:", $coord[0] & "," & $coord[1]) elseif @error MsgBox(0, "Error found!", "Nothing white here") Endif And I can't understand the error I get (probably when it doesn't find a white pixel): Subscript used with non-Array variable.: Mousemove($coord[0],$coord[1]) Mousemove($coord^ ERROR >Exit code: 1 Time: 4.819 Am I making a mistake in [left, top, right, bottom] syntax?Or is it something else? Thanks in advance
  4. I'm having this issue where I cannot use Controlsend function in ANY of my programms. Controlsend works perfectly on my x86 computer,but on my x64 laptop it won't start. I already tested it with the "calculator" example provided by autoit installation and it didn't work there as well. So I either screwed up somewhere on installation,or I'm missing something important for certain functions to work on x64 system =/ P.S. During the installation prompt "Use native x64 tools when possible" I clicked yes. Edit: I haven't changed calc script on autoit3/examples,but both send and controlsend won't work on calc.They do work however on notepad example.
  5. The only thing I edited in the winfo is the title and class which are the same, nothing else. And if you don't have time to "waste" then nobody forces you to help me.
  6. I don't really understand what you wrote above,so I'll give the info on the executable: >>>> Window <<<< Title: Name Class: Name Position: 285, 199 Size: 1030, 801 Style: 0x14CA0000 ExStyle: 0x00000100 Handle: 0x00080306 >>>> Control <<<< Class: Instance: ClassnameNN: Name: Advanced (Class): ID: Text: Position: Size: ControlClick Coords: Style: ExStyle: Handle: >>>> Mouse <<<< Position: 1104, 371 Cursor ID: 0 Color: 0x262C34 >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< >>>> Hidden Text <<<< How do I make a primary click in X,Y directions in this? Edit: Is it maybe this? ControlClick ( "Name", "", [, primary [, 1 [, X [, Y ]]]] ) Thanks for your time
  7. Hello, I have searched most of the threads created for ControlClick but I only need this function as simple as it can be. I have the executable (let's name it "name") and the coordinates (let's call them X and Y).It is also a left click of mouse,so it is "primary". How do I write the function as simple as it can be? Thanks for your time.
×
×
  • Create New...