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
Difference between revisions of "CLICK"
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | "Clicks" on the '''HTML element''' at the specified X/Y coordinates. The zero position (origin) of the coordinate system is in the top left corner of the webpage. The x axis is positive to the right, the y axis is positive downwards | + | "Clicks" on the '''HTML element''' at the specified X/Y coordinates. The zero position (origin) of the coordinate system is in the top left corner of the webpage. The x axis is positive to the right, the y axis is positive downwards. |
To record a CLICK command set the '''ClickMode''' to "Use X/Y position" during [[First_Steps#What's a Click Mode?|recording]]. | To record a CLICK command set the '''ClickMode''' to "Use X/Y position" during [[First_Steps#What's a Click Mode?|recording]]. | ||
− | Note: ''This CLICK command must not be confused with the [[DS|DS CMD=CLICK]] command'', which is designed to work with Flash, Silverlight (etc.) applets, but, of course, also works with HTML | + | Note: ''This CLICK command must not be confused with the [[DS|DS CMD=CLICK]] command'', which is designed to work with Flash, Silverlight (etc.) applets, but, of course, also works with HTML. |
===Syntax [[Image:Ff-icon.png|Firefox]]=== | ===Syntax [[Image:Ff-icon.png|Firefox]]=== | ||
− | CLICK X=n Y=m | + | CLICK X=n Y=m |
=== Parameters === | === Parameters === | ||
Line 15: | Line 15: | ||
* Y | * Y | ||
Specifies the y (vertical) coordinate of the website element that is to be clicked. | Specifies the y (vertical) coordinate of the website element that is to be clicked. | ||
− | + | ||
− | + | === Notes === | |
+ | |||
+ | # Deprecated in iMacros for Firefox v10 and later | ||
=== Examples === | === Examples === | ||
− | + | URL GOTO=http://demo.imacros.net/Automate/TestForm1 | |
− | + | ' Use CLICK command to select Apple Pie for dessert | |
− | + | CLICK X=316 Y=453 | |
− | URL GOTO=http:// | ||
− | |||
− | |||
− | ' | ||
− | |||
− | |||
− | CLICK X= | ||
− | Related forum | + | Related forum posts: |
* [http://forum.iopus.com/viewtopic.php?f=2&t=6865&p=19920#p19920 Use CLICK to press tricky login button] | * [http://forum.iopus.com/viewtopic.php?f=2&t=6865&p=19920#p19920 Use CLICK to press tricky login button] | ||
+ | * [http://forum.iopus.com/viewtopic.php?f=11&t=19209 Workaround for lack of DS mouse commmands] | ||
=== See Also === | === See Also === | ||
[[TAG]], [[WINCLICK]] | [[TAG]], [[WINCLICK]] |
Revision as of 12:57, 28 May 2018
"Clicks" on the HTML element at the specified X/Y coordinates. The zero position (origin) of the coordinate system is in the top left corner of the webpage. The x axis is positive to the right, the y axis is positive downwards.
To record a CLICK command set the ClickMode to "Use X/Y position" during recording.
Note: This CLICK command must not be confused with the DS CMD=CLICK command, which is designed to work with Flash, Silverlight (etc.) applets, but, of course, also works with HTML.
Syntax
CLICK X=n Y=m
Parameters
- X
Specifies the x (horizontal) coordinate of the website element that is to be clicked.
- Y
Specifies the y (vertical) coordinate of the website element that is to be clicked.
Notes
- Deprecated in iMacros for Firefox v10 and later
Examples
URL GOTO=http://demo.imacros.net/Automate/TestForm1 ' Use CLICK command to select Apple Pie for dessert CLICK X=316 Y=453
Related forum posts: