Jump to content

Cerb

Members
  • Posts

    13
  • Joined

  • Last visited

Cerb's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Well, let's say I have many windows and I want to activate random ones. Those I want to activate have the " - Wnd" string. In short let's say i have those windows opened: "1 - Wnd" "2 - Wnd" "3 - Wnd" "Untitled - Notepad" "Internet Explorer" I want to active one of the first three (randomly). How could I do this? Thanks
  2. holy fuck lol I am sorry, I didnt have a slightest idea of what i have been doing... lmao sorry for this
  3. Now, this is really bugged AutoItSetOption("PixelCoordMode",1) $x = 595 $y = 417 $var = PixelGetColor($x,$y) MsgBox(0,$var[0],$var[1]) This code gives me the same error.
  4. My window is 806x632 and I am running windows under 1024x768...
  5. Yes I am, but why doesn't it work? I mean, its a coord like any other...?
  6. $x = 595 $y = 417 $var = PixelGetColor($x,$y) MsgBox(0,"",$var[0] & "," & $var[1]) Error, subscript used with non-array variable. ???
  7. When I try those functions, I get an error Heres an example $u = PixelSearch($xstart,$ystart,$xend,$yend,$color) While @error = 1 $u = PixelSearch($xstart,$ystart,$xend,$yend,$color) Sleep(500) WEnd MouseMove($u[0],$u[1],0) Sleep(250) MouseClick("left") Sleep(2500) ERROR Line 0: MouseMove($u[0],$u[1],0) MouseMove($u^ERROR Error: Subscript used with non-Array variable. Why?
×
×
  • Create New...