SIZE
Top  Previous  Next


Resizes the iMacros Browser Window. This command does not work when iMacros is -silent or -tray mode. In Internet Explorer, this command is ignored.

Syntax

SIZE X=n Y=m


Parameters

X
Specifies the new width of the iMacros Browser window in pixel.

Y
Specifies the new height of the iMacros Browser window in pixel.


Examples

When using
WINCLICK, this size of the browser window is essential for the success of the command. If the window is resized between recording and replaying the macro, the WINCLICK command might fail, because the position of the element which is to be clicked has moved. Therefore, it is advisable (especially when you distribute your macros) to add a SIZE command before all WINCLICK commands, so that potential window resizing of the user is revoked.

SIZE X=800 Y=600
WINCLICK X=234 Y=42 CONTENT=Hello<SP>World!



See Also

WINCLICK, IMAGECLICK



Page URL http://www.iopus.com/imacros/help/cmd_size.htm