peter123 Posted July 30, 2007 Share Posted July 30, 2007 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. Link to comment Share on other sites More sharing options...
qazwsx Posted July 30, 2007 Share Posted July 30, 2007 aren't screen shots automatically saved into some temporary folder? Link to comment Share on other sites More sharing options...
peter123 Posted July 30, 2007 Author Share Posted July 30, 2007 but, can I not save it in the @Scriptdir? Link to comment Share on other sites More sharing options...
Gif Posted July 30, 2007 Share Posted July 30, 2007 but, can I not save it in the @Scriptdir?look at Au3Libyou have to use a DLL to do this but Au3Lib has simplified that Link to comment Share on other sites More sharing options...
peter123 Posted August 5, 2007 Author Share Posted August 5, 2007 Can I maybe more help, pleaaasee?? Link to comment Share on other sites More sharing options...
Gif Posted August 5, 2007 Share Posted August 5, 2007 (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 August 5, 2007 by Gif Link to comment Share on other sites More sharing options...
Nahuel Posted August 5, 2007 Share Posted August 5, 2007 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! Link to comment Share on other sites More sharing options...
peter123 Posted August 7, 2007 Author Share Posted August 7, 2007 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 Link to comment Share on other sites More sharing options...
Gif Posted August 7, 2007 Share Posted August 7, 2007 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)peterare you having troubles installing autoit library?what exacly is the error? you have to install it in AutoIt's dir Link to comment Share on other sites More sharing options...
peter123 Posted August 7, 2007 Author Share Posted August 7, 2007 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! Link to comment Share on other sites More sharing options...
Gif Posted August 7, 2007 Share Posted August 7, 2007 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! Link to comment Share on other sites More sharing options...
peter123 Posted August 7, 2007 Author Share Posted August 7, 2007 eh, sorry but can you not give the code. (please) now it gives this error: "you dont have permisions" (i'm not the admin ) Link to comment Share on other sites More sharing options...
peter123 Posted August 7, 2007 Author Share Posted August 7, 2007 eh, sorry but can you not give the code. (please) now it gives this error: "you dont have permisions" (i'm not the admin ) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now