Sign in to follow this  
Followers 0
peter123

Screenshot saver

13 posts in this topic

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.

Share this post


Link to post
Share on other sites



aren't screen shots automatically saved into some temporary folder?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Can I maybe more help, pleaaasee??

Share this post


Link to post
Share on other sites

#6 ·  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

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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!

:)

Share this post


Link to post
Share on other sites

eh, sorry

but can you not give the code. (please)

now it gives this error: "you dont have permisions" (i'm not the admin :) )

Share this post


Link to post
Share on other sites

eh, sorry

but can you not give the code. (please)

now it gives this error: "you dont have permisions" (i'm not the admin :) )

Share this post


Link to post
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
Sign in to follow this  
Followers 0