The renewal maintenance has officially ended for Progress iMacros effective November 30, 2023.
This Wiki site will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely, The Progress Team
Difference between revisions of "Demo-ImageRecognition"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
Macro Code | Macro Code | ||
− | VERSION BUILD=4220307 | + | VERSION BUILD=4220307 |
TAB T=1 | TAB T=1 | ||
TAB CLOSEALLOTHERS | TAB CLOSEALLOTHERS |
Revision as of 07:15, 11 May 2007
This macro demonstrates the use of the Image Recognition commands to handle interactions on a Flash website.
This demo works with the following page: http://www.iopus.com/imacros/demo/v5/flash/
Macro Code
VERSION BUILD=4220307 TAB T=1 TAB CLOSEALLOTHERS ' 'This macro requires the Image Recognition Plugin (IMimage.dll) ' ' URL GOTO=http://www.iopus.com/imacros/demo/v5/flash/ REFRESH SIZE X=801 Y=602 ' 'For first start, make sure focus is set correctly 'Hide pointer for visual reason only SET !POINTER NO WINCLICK X=1 Y=1 SET !POINTER YES ' 'MEDIUM replay speed for demo purposes SET !REPLAYSPEED MEDIUM ' IMAGECLICK IMAGE=flash8.bmp CONFIDENCE=90 IMAGECLICK IMAGE=flashEnter.bmp CONFIDENCE=90 IMAGECLICK IMAGE=flash1.bmp CONFIDENCE=90 IMAGECLICK IMAGE=flashEnter.bmp CONFIDENCE=90 IMAGECLICK IMAGE=flash+.bmp CONFIDENCE=90 ' 'Test if result is as expected IMAGESEARCH IMAGE=flashResult.bmp CONFIDENCE=90 ' WAIT SECONDS=2