Jump to content

Recommended Posts

Posted

Hello Everyone,

I can't put a Screenshot in a file. Can any body help me?

What I do is like this:

Send("{Screenshot}")

//Now I got the Screenshot but how can I put this in a file?

I can't use Fileopen because it says filename Filename of the text file to open.

Posted

but, can I not save it in the @Scriptdir?

look at Au3Lib

you have to use a DLL to do this but Au3Lib has simplified that

Posted (edited)

Can I maybe more help, pleaaasee??

easy! , as i said download Au3lib , install it and try this:

#include <A3LScreenCap.au3>
_ScreenCap_Capture(@DesktopDir &'\Screenshot.jpg')
Exit

PS: scite has autocomplete if you want more features look at _ScreenCap....

EDIT: instead of autocomplete i typed autoitcomplete :)

Edited by Gif
Posted

Oh, this is great. I've written a scrpit to do this, but it works different. It waits a few seconds after you run it so it gives you time to move the windows you want to capture. Then it runs mspaint and pastes the picture there and saves it :) haha, but this is much better. Thanks!

Posted

hmmm, I dont get it.

why can i not instal this program, it gives a error!

ehh, can maybe anybody please post the code? (please)

peter

Posted

hmmm, I dont get it.

why can i not instal this program, it gives a error!

ehh, can maybe anybody please post the code? (please)

peter

are you having troubles installing autoit library?

what exacly is the error? you have to install it in AutoIt's dir

Posted

it says that he autoit3 not can find it.

(my english is not so good)

ow, yes i know why i get this error know. I havn't instal it on this computer!

Posted

it says that he autoit3 not can find it.

(my english is not so good)

ow, yes i know why i get this error know. I havn't instal it on this computer!

:)

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
×
×
  • Create New...