Jump to content

Does autoit have the abililty to do what this program does?


gte
 Share

Recommended Posts

This tool is decent, but it fails on certain pages, and I'd like to have the code native to my app.

Can autoit do this?

http://www.webscreencapture.com/

Web Screen Capture is one free web site and web page screenshot and thumbnail software, it can take screenshots of web pages and save them as full sized images, and the images can be output in the JPG/JPEG, BMP, PNG, or GIF formats. The image's Pixel Format can be changed. This freeware support command line usage, you can convert html pages to image in batch.

Main Features

* Create full size screenshots of website pages.

* Supports JPG, GIF, PNG, BMP image formats.

* Supports command line usage.

* Supports batch convert with command line.

* Simple, very fast and easy-to-use.

* Freeware, not paid for use.

Command Line Usage

webscreencapture.exe [image]

exmaple:

* webscreencapture.exe http://news.yahoo.com c:\yahoo-news-screenshot.jpg

* webscreencapture.exe http://www.youtube.com/ c:\youtube-screenshot.jpg

* webscreencapture.exe http://www.myspace.com/ c:\myspace-screenshot.jpg

Link to comment
Share on other sites

Like the screen capture function?

#include <ScreenCapture.au3>

_Main()

Func _Main()
    Local $hBmp

    ; Capture full screen
    $hBmp = _ScreenCapture_Capture ("")

    ; Save bitmap to file
    _ScreenCapture_SaveImage (@MyDocumentsDir & "\GDIPlus_Image.jpg", $hBmp)

EndFunc   ;==>_Main

Or use Window method

#include <ScreenCapture.au3>

_Main()

Func _Main()
    Local $hGUI

    ; Create GUI
    $hGUI = GUICreate("Screen Capture", 400, 300)
    GUISetState()

    ; Capture window
    _ScreenCapture_CaptureWnd (@MyDocumentsDir & "\GDIPlus_Image.jpg", $hGUI)

EndFunc   ;==>_Main
[Cheeky]Comment[/Cheeky]
Link to comment
Share on other sites

I tried the screen capture function, but could not get it to do the entire page (the area that was not viewable and needed to be scrolled down to see) ... did I use the include incorrectly and maybe it has this ability?

Like the screen capture function?

#include <ScreenCapture.au3>

_Main()

Func _Main()
    Local $hBmp

    ; Capture full screen
    $hBmp = _ScreenCapture_Capture ("")

    ; Save bitmap to file
    _ScreenCapture_SaveImage (@MyDocumentsDir & "\GDIPlus_Image.jpg", $hBmp)

EndFunc   ;==>_Main

Or use Window method

#include <ScreenCapture.au3>

_Main()

Func _Main()
    Local $hGUI

    ; Create GUI
    $hGUI = GUICreate("Screen Capture", 400, 300)
    GUISetState()

    ; Capture window
    _ScreenCapture_CaptureWnd (@MyDocumentsDir & "\GDIPlus_Image.jpg", $hGUI)

EndFunc   ;==>_Main

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...