SIZE
From iMacros
Resizes the iMacros Browser Window. This command does not work when iMacros is -silent or -tray mode. In Internet Explorer this command is ignored.
Contents |
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 the 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 by the user is undone.
SIZE X=800 Y=600 WINCLICK X=234 Y=42 CONTENT=Hello<SP>World!
