Code: Select all
You can also use the TAG command to scroll the required part of the web page into view. To do this, simply click on any kind of (HTML) text next to or below the area where you want to send the DirectScreen command to.
The recorded macro looks like this:
http://www.iopus.com/download/forum/win ... croll1.png
SIZE X=559 Y=465
TAG POS=1 TYPE=FONT ATTR=TXT:Pure<SP>Java<SP>Chat<SP>Server
DS CMD=CLICK X=203 Y=383 CONTENT=
DS CMD=CLICK X=203 Y=383 CONTENT=It<SP>works!
If you play the macro, it opens the web page...
...the TAG command scrolls into the middle of the web page (where the Flash chat applet is)
...and the DS CMD=CLICK command works:
Note: The screenshots contain the WINCLICK command, which was the predecessor of the more powerful DirectScreen Technology. The same technique works for all DirectScreen commands.