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 "!CLIPBOARD"
Jump to navigation
Jump to search
m (Text replacement - "http://www.iopus.com/imacros/demo/v6/extract2/" to "http://demo.imacros.net/Automate/Extract2") |
|||
Line 22: | Line 22: | ||
Copy data extracted from a website '''into the clipboard''': | Copy data extracted from a website '''into the clipboard''': | ||
− | URL GOTO=http:// | + | URL GOTO=http://demo.imacros.net/Automate/Extract2 |
TAG POS=1 TYPE=TD ATTR=CLASS:bdytxt&&TXT:* EXTRACT=TXT | TAG POS=1 TYPE=TD ATTR=CLASS:bdytxt&&TXT:* EXTRACT=TXT | ||
SET !CLIPBOARD <nowiki>{{!EXTRACT}}</nowiki> | SET !CLIPBOARD <nowiki>{{!EXTRACT}}</nowiki> |
Revision as of 09:13, 21 November 2018
Copy data from and to the clipboard. This command is available in iMacros for Firefox 6.2.2.0 and later and iMacros 7.
Value
Any valid clipboard text content.
Set By
[X] Internal (from clipboard)
[X] SET (to clipboard)
Internal means that the iMacros program itself sets the value of the variable during program run. SET means that the user can set this value via the SET command inside a macro.
Examples
Copy data from the clipboard to a website:
URL GOTO=http://www.iopus.com/imacros/demo/v6/f1/form.asp TAG POS=1 TYPE=TEXTAREA FORM=NAME:TestForm ATTR=NAME:Remarks CONTENT=Clipboard<SP>content<SP>=<SP>{{!CLIPBOARD}}
Copy data extracted from a website into the clipboard:
URL GOTO=http://demo.imacros.net/Automate/Extract2 TAG POS=1 TYPE=TD ATTR=CLASS:bdytxt&&TXT:* EXTRACT=TXT SET !CLIPBOARD {{!EXTRACT}}
Notes
- In Chrome referencing the !CLIPBOARD variable with {{!CLIPBOARD}} does not currently work, but SET !CLIPBOARD does.