The Winclick command
Top  Previous  Next

Related example macros: Demo-Winclick, Demo-FileUpload, Demo-Flash, Demo-JavaScriptMenu

The WINCLICK command is the ultimate solution if everything else fails! It simulates standard native mouse clicks within the browser window. This feature works with all web pages but you can only use it in the iMacros browser. It is activated during recording by clicking on the click_mode button and selecting Windows Click from the upcoming dialog:

winclick_select

Typically,
WINCLICK is used to automate web pages that contain non-HTML elements such as Java applets or Macromedia Flash elements.

What is the difference between the WINCLICK and the CLICK command?

·The WINCLICK commands operates on the visible part of the web page, just a like human would with a mouse. Thus WINCLICK X=1 Y= 400 will always click on the specific part of the browser window. If the web page is scrolled, the click hits another part of the web page.  
·The CLICK command operates on the complete browser web page (HTML) only. So CLICK X=1 Y= 980 will always click on the specific HTML element at this position of the page regardless of whether the element is currently visible in the browser window or not. Whether or not the web page is scrolled, a specific X/Y combination always hits the same part of the web page.  

You can use the HTML-based TAG or the CLICK commands to scroll a specific part of the web page into view and then use WINCLICK to operate using the now visible object (for example a Java applet).

The
WINCLICK command can send keystrokes to the web browser via the CONTENT parameter. In addition to regular text, it can send special keys:

ENTER    {ENTER}
TAB      {TAB}
DEL      {DEL}
BACKSPACE   {BACKSPACE}
LEFT      {LEFT}
RIGHT      {RIGHT}






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