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
Demo-AJAX-Tree
Jump to navigation
Jump to search
This script automates an AJAX tree view, using drag & drop. Note that is does not work with fixed coordinates, rather it uses the position of certain HTML page element, as returned by the !TAGX and !TAGY variables. With this method, iMacros can locate (and move) the tree elements anywhere on the page. The only requirement is that the tree elments they are visible in the web browser, so the DirectScreen command can grab and move them.
VERSION BUILD=6000808 TAB T=1 TAB CLOSEALLOTHERS URL GOTO=http://www.dhtmlgoodies.com/scripts/drag-drop-folder-tree/drag-drop-folder-tree.html SIZE X=750 Y=600 'Replay at lower speed so one can "see" the clicks better SET !REPLAYSPEED MEDIUM TAG POS=1 TYPE=A ATTR=TXT:Germany DS CMD=LDOWN X={{!TAGX}} Y={{!TAGY}} WAIT SECONDS=1 DS CMD=MOVETO X={{!TAGX}} Y={{!TAGY}} WAIT SECONDS=1 TAG POS=1 TYPE=A ATTR=TXT:Europe DS CMD=MOVETO X={{!TAGX}} Y={{!TAGY}} DS CMD=LUP X={{!TAGX}} Y={{!TAGY}} ' WAIT SECONDS=1 TAG POS=1 TYPE=A ATTR=TXT:United<SP>Kingdom DS CMD=LDOWN X={{!TAGX}} Y={{!TAGY}} WAIT SECONDS=1 DS CMD=MOVETO X={{!TAGX}} Y={{!TAGY}} WAIT SECONDS=1 TAG POS=1 TYPE=A ATTR=TXT:Europe DS CMD=MOVETO X={{!TAGX}} Y={{!TAGY}} DS CMD=LUP X={{!TAGX}} Y={{!TAGY}} WAIT SECONDS=1 TAG POS=1 TYPE=A ATTR=TXT:America DS CMD=LDOWN X={{!TAGX}} Y={{!TAGY}} WAIT SECONDS=1 DS CMD=MOVETO X={{!TAGX}} Y={{!TAGY}} WAIT SECONDS=1 TAG POS=1 TYPE=A ATTR=TXT:*Root* DS CMD=MOVETO X={{!TAGX}} Y={{!TAGY}} DS CMD=LUP X={{!TAGX}} Y={{!TAGY}}