07-17-2017, 10:57 PM
Is possible to capture a screenshot of a Web site like http://www.nirsoft.net/utils/web_site_screenshot.html using QM?
Web2Image
|
07-17-2017, 10:57 PM
Is possible to capture a screenshot of a Web site like http://www.nirsoft.net/utils/web_site_screenshot.html using QM?
07-18-2017, 06:00 AM
Should be easy to create simplest code. But will need time to add more features, such as auto-size. And to test with many pages... Better use the nirsoft command line program.
12-17-2018, 09:50 PM
can you convert this code: https://www.autoitscript.com/forum/topic...creenshot/ to QM?
12-18-2018, 03:57 PM
12-18-2018, 08:34 PM
I don't think that any of these codes work reliably, with any page, with scrolling pages. If don't want to spend several days converting these codes and trying to make them work reliably enough, use the commandline program or try to find some good library (COM or .NET), or use some online service.
12-18-2018, 09:17 PM
I just performed a test on the AutoIt code and it works correctly ...
It seems to use IHTMLElementRender to generate an image of an accessible object.
12-18-2018, 09:37 PM
Code for IHTMLElementRender.
Macro Macro151 HtmlDoc d.SetOptions(2)
12-18-2018, 09:42 PM
Thanks.
I tried to create the Web2Image function to capture an HTML element without success.
Error (RT) in <open ": 4709: / 840"> Macro53: 0x80004002, Interface not supported. Can you create the function? Macro Macro53 int w=wait(3 WV win("Nueva pestaña - Internet Explorer" "IEFrame"))
12-19-2018, 06:02 PM
MSHTML.IHTMLDocument2 d=e.el.document
MSHTML.IHTMLElementRender r=+d.body But does not work too. Works when the web browser control is in the same process, like in the autoit code.
any workaround?
12-19-2018, 08:16 PM
Macro Macro173
int w=win("- Internet Explorer" "IEFrame")
12-19-2018, 08:40 PM
Thanks again.
05-07-2019, 10:54 PM
Is there any new progress in webpage screenshots?
I need to save the entire page of a URL as a PNG image. I can only take a small part of it using the code below. I very much hope to continue to enhance and improve it. Thank you very much. Macro Macro8 ;http://www.quickmacros.com/forum/showthread.php?tid=6246&highlight=service
05-08-2019, 06:09 AM
When the page is loaded, I want to intercept the entire page in the dialog. How do I handle it?
Macro Macro9 \Dialog_Editor
Strange, the following code, the link to qm is OK, invalid for other links
Can provide the easiest way to intercept the entire page of a link and save it as a PNG image? Macro Macro16 HtmlDoc d.SetOptions(2)
05-10-2019, 03:37 AM
I found a good solution, please use QM to execute the following powershell script
|
« Next Oldest | Next Newest »
|