Help - Search - Members - Calendar
Full Version: How to scan the number from the scren?
AC Tools Everything Macro > AC Tool Macros > Macro Development
korvindeson
I need a litle help, i need an easy macro, but i can't get how can i check the information on the screen.

Here is what i need

CODE
SetActiveWindow Windows Internet Explorer
Loop 10000
  DragTo X, Y
  LeftClick
  Delay 1261000
  If //number in specific part of window >= 70 --------how to realize that?
    DragTo X, Y
    LeftClick
  Else
    DragTo X, Y
    LeftClick
  End
  // Then i need to scan 3 numbers in different parts of the scren, if one of them, two of them or all of them = 0 --------the same problem
  // bla-bla, drag to, click ets....
  else
  //
  End
End

Need a help =) A lot of thanks, sorry for my english if I wrote something wrong wink.gif
DaMOB
QUOTE(korvindeson @ Sep 27 2009, 11:20 AM) *
I need a litle help, i need an easy macro, but i can't get how can i check the information on the screen.

Here is what i need

CODE
SetActiveWindow Windows Internet Explorer
Loop 10000
  DragTo X, Y
  LeftClick
  Delay 1261000
  If //number in specific part of window >= 70 --------how to realize that?
    DragTo X, Y
    LeftClick
  Else
    DragTo X, Y
    LeftClick
  End
  // Then i need to scan 3 numbers in different parts of the scren, if one of them, two of them or all of them = 0 --------the same problem
  // bla-bla, drag to, click ets....
  else
  //
  End
End

Need a help =) A lot of thanks, sorry for my english if I wrote something wrong wink.gif

Investigate objects as it sounds that is what you need. Not hard if the numbers are on a solid background if not you will have a hard time making it work reliably.
korvindeson
Just can't get it there is "The chance to find - 73%" on a scren (numbers changes). How to let AC scan it? I've tryed to create the object and got an error Unsuported clipboard format
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.