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/f1/form.asp" to "http://demo.imacros.net/Automate/TestForm1") |
|||
Line 17: | Line 17: | ||
Copy data '''from the clipboard''' to a website: | Copy data '''from the clipboard''' to a website: | ||
− | URL GOTO=http://demo.imacros.net/Automate/TestForm1 | + | URL GOTO=http://demo.imacros.net/Automate/TestForm1 |
− | TAG POS=1 TYPE=TEXTAREA | + | TAG POS=1 TYPE=TEXTAREA ATTR=NAME:Remarks CONTENT=Clipboard<SP>content<SP>=<SP><nowiki>{{!CLIPBOARD}}</nowiki> |
Revision as of 13:31, 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://demo.imacros.net/Automate/TestForm1 TAG POS=1 TYPE=TEXTAREA 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.