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 "SAVE ELEMENT SCREENSHOT"
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
The SAVE_ELEMENT_SCREENSHOT event takes a screenshot of the specified element. That is in contrast to [[SAVEITEM]] which attempts to download the original file from the browser cache. Another related command is [[SAVETARGETAS]]. | The SAVE_ELEMENT_SCREENSHOT event takes a screenshot of the specified element. That is in contrast to [[SAVEITEM]] which attempts to download the original file from the browser cache. Another related command is [[SAVETARGETAS]]. | ||
− | = | + | Notice that the element does not have to be TYPE=IMG. Any type is allowed. |
+ | The image files produced in this way are always in the PNG format and copied to the iMacros download directory by default. You can use the [[ONDOWNLOAD]] command to specify the name and location for the downloaded image, but you cannot change the image format, even if you use a different file extension. | ||
+ | |||
+ | === Syntax [[Image:IMacros-icon.png|iMacros Browser]] [[Image:Ie-icon.png|IE Plug-in]] [[Image:Ff-icon.png|Firefox]] === | ||
TAG... CONTENT=EVENT:SAVE_ELEMENT_SCREENSHOT | TAG... CONTENT=EVENT:SAVE_ELEMENT_SCREENSHOT | ||
Revision as of 07:08, 20 July 2011
The SAVE_ELEMENT_SCREENSHOT event takes a screenshot of the specified element. That is in contrast to SAVEITEM which attempts to download the original file from the browser cache. Another related command is SAVETARGETAS.
Notice that the element does not have to be TYPE=IMG. Any type is allowed.
The image files produced in this way are always in the PNG format and copied to the iMacros download directory by default. You can use the ONDOWNLOAD command to specify the name and location for the downloaded image, but you cannot change the image format, even if you use a different file extension.
Syntax
TAG... CONTENT=EVENT:SAVE_ELEMENT_SCREENSHOT