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 "!TAGX"
Jump to navigation
Jump to search
(→Value) |
|||
Line 6: | Line 6: | ||
=== Examples === | === Examples === | ||
+ | |||
+ | You can use this value as input for [[DirectScreen]] commands, for example to enter text into a tricky Javascript text box that can not be filled with the standard TAG command: | ||
+ | |||
+ | TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:aspnetForm ATTR=ID:txtCoverStartDate CONTENT= | ||
+ | 'Set focus on box | ||
+ | DS CMD=CLICK X={{!TAGX}} Y={{!TAGY}} | ||
+ | 'Send text | ||
+ | DS CMD=KEY X={{!TAGX}} Y={{!TAGY}} CONTENT=11/01/2009 | ||
+ | |||
+ | Example macros: | ||
[[Demo-AJAX-Drag-Drop]] , [[Demo-AJAX-Tree]] | [[Demo-AJAX-Drag-Drop]] , [[Demo-AJAX-Tree]] | ||
=== See Also === | === See Also === | ||
[[!TAGY]] , [[!IMAGEX]] , [[!IMAGEY]] | [[!TAGY]] , [[!IMAGEX]] , [[!IMAGEY]] |
Revision as of 23:45, 3 January 2008
This value contains the X-coordinate of the HTML element found with the TAG command.
Value
X-coordinate in pixel.
Examples
You can use this value as input for DirectScreen commands, for example to enter text into a tricky Javascript text box that can not be filled with the standard TAG command:
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:aspnetForm ATTR=ID:txtCoverStartDate CONTENT= 'Set focus on box DS CMD=CLICK X=Template:!TAGX Y=Template:!TAGY 'Send text DS CMD=KEY X=Template:!TAGX Y=Template:!TAGY CONTENT=11/01/2009
Example macros: Demo-AJAX-Drag-Drop , Demo-AJAX-Tree