ImageRecognition


SUBMITTED BY: rilp44

DATE: Dec. 4, 2015, 12:05 p.m.

FORMAT: Text only

SIZE: 993 Bytes

HITS: 7159

  1. VERSION BUILD=10.4.28.1074
  2. TAB T=1
  3. TAB CLOSEALLOTHERS
  4. URL GOTO=http://demo.imacros.net/Automate/FlashDemo
  5. REFRESH
  6. '
  7. 'MEDIUM replay speed for demo purposes
  8. 'SET !REPLAYSPEED MEDIUM
  9. '
  10. SIZE X=720 Y=560
  11. ' After setting size to fit the browser window to the Flash applet, we can reduce the
  12. ' search region even more, and so speeding up the search by setting a subregion
  13. ' (Please, notice that this is not really required in this example, since the page is rather short.)
  14. SET !REGION_BOTTOM #FOLD#
  15. ' Here we have set the bottom boundary as the current browser window fold.
  16. ' See http://wiki.imacros.net/!REGION_BOTTOM
  17. IMAGECLICK POS=1 IMAGE=flash8.png CONFIDENCE=90
  18. IMAGECLICK POS=1 IMAGE=flashEnter.png CONFIDENCE=90
  19. IMAGECLICK POS=1 IMAGE=flash1.png CONFIDENCE=90
  20. IMAGECLICK POS=1 IMAGE=flashEnter.png CONFIDENCE=90
  21. IMAGECLICK POS=1 IMAGE=flash+.png CONFIDENCE=90
  22. '
  23. 'Test if result is as expected
  24. IMAGESEARCH POS=1 IMAGE=flashResult.png CONFIDENCE=90
  25. '
  26. WAIT SECONDS=2

comments powered by Disqus