Jump to content

Recommended Posts

Posted

Hi all,

I wondering, is there any way to capture image of particular web-page?

And i mean whole page, not just the visible area.

Is it possible? it will be better without using a browser, or other external programms, ecxept if they have a realy small size (around 50 kb) <_<

Thanks.

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Posted

Couldn't you just write a script to copy the active window to the clipboard (ALT +PRINT SCREEN), open paint, paste it there, and save it?

Posted

I use PDFCreator (at Sourceforge,net). It is a PDF printer destination.

Dale

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Posted

  Quote

Couldn't you just write a script to copy the active window to the clipboard (ALT +PRINT SCREEN), open paint, paste it there, and save it?

I could, but i wont (please read my first post <_<), but thanks for trying to help.

  Quote

I use PDFCreator

Thanks, but i need to do it without using external apps, or at least that the app will not need to be installed and will work with cmd line.

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Posted

  Quote

You could use _INetGetSource and save that into a html file.

I need an image, not html. But thanks for idea.

I found here a command line program, as i understood, when it compiled it's only 20 kb size!

But i have no c++ compiler or any tools/knowlage for it, so if someone can compile it for me please, i will very appreciate it.

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Posted

  MsCreatoR said:

I need an image, not html. But thanks for idea.

I found here a command line program, as i understood, when it compiled it's only 20 kb size!

But i have no c++ compiler or any tools/knowlage for it, so if someone can compile it for me please, i will very appreciate it.

Free C/Cpp compilers.

I've got Pelles and Codeblocks installed but there are several available. The above page also contains links to good C/C++ help.

George

  Reveal hidden contents
Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

  • Moderators
Posted (edited)

  MsCreatoR said:

I need an image, not html. But thanks for idea.

I found here a command line program, as i understood, when it compiled it's only 20 kb size!

But i have no c++ compiler or any tools/knowlage for it, so if someone can compile it for me please, i will very appreciate it.

Thought you didn't want the window shown? From looking at the source, sure seems like that's how it does it.

Edit:

And there's files missing from the download.

Edited by SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted (edited)

  MsCreatoR said:

Hi all,

I wondering, is there any way to capture image of particular web-page?

And i mean whole page, not just the visible area.

Is it possible? it will be better without using a browser, or other external programms, ecxept if they have a realy small size (around 50 kb) <_<

Thanks.

What about this: http://www.pixel-technology.com/freeware/url2bmp/english/

Bigger than what you want, but does have a command line option...

They also have url2jpg http://www.url2jpeg.com/ which uses a dll that might lend itself to scripting?

Edit: just noticed that url2jpg uses the dot net framework, so probably not so good, but maybe url2bmp will do the job.

Edited by ResNullius
Posted

  Quote

Thought you didn't want the window shown?

As i understood this work with cmd line, so i supose there will be no windows <_<

  Quote

What about this

Almoust PERFECT! (a litle big size, but it's ok) Thanks!.

If someone will find a solution on "pure" AutoIt (using API or something), please let me know here.

Thanks to all.

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Posted (edited)

Here's another one: http://iecapt.sourceforge.net/

About half the size of url2bmp, and if you upx it, you can get it down to just over 50k

It relies on gdiplus.dll, and the source code is available, so maybe a genius with dll calls could figure out how to make the necessary dll call(s) directly from AutoIt....

Edited by ResNullius
Posted

  Quote

Here's another one

It's match better, there is no need to specify a size of the screen, and it work without any dialogs! Thanks!

  Quote

About half the size of url2bmp

It almoust 8 times smaller! (when unzipped).

  Quote

maybe a genius with dll calls could figure out how to make the necessary dll call(s) directly from AutoIt.

It would be greate!!!

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

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
  • Recently Browsing   0 members

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