jdisme Posted June 2, 2008 Share Posted June 2, 2008 I want to make a program that makes it so that whenever I press the "print screen" button on my computer it will automaticaly save a Screenshot to a predefined location and rename the picture with the date/time. Any tips? Link to comment Share on other sites More sharing options...
Airwolf Posted June 2, 2008 Share Posted June 2, 2008 Take a look at HotKeySet() in the help file - this will allow you to make the Print Screen button perform a function in AutoIT. Then in your function, you'll want to use _ScreenCapture_Capture() to take the screenshot, and _ScreenCapture_SaveImage() to save it. There are some other _ScreenCapture functions you may want to use as well. Certifications: A+, Network+, Security+, Linux+, LPIC-1, MCSA | Languages: AutoIt, C, SQL, .NETBooks: AutoIt v3: Your Quick Guide - $7.99 - O'Reilly Media - September 2007-------->[u]AutoIt v3 Development - newbie to g33k[/u] - Coming Soon - Fate Publishing - Spring 2013UDF Libraries: SkypeCOM UDF Library | ADUC Computers OU Cleanup | Find PixelChecksumExamples: Skype COM Examples - Skype4COMLib Examples converted from VBS to AutoIt Link to comment Share on other sites More sharing options...
jdisme Posted June 2, 2008 Author Share Posted June 2, 2008 Thanks a lot for your help. Are all of the _screencapture functions built in? or do I need to download them? Link to comment Share on other sites More sharing options...
Airwolf Posted June 2, 2008 Share Posted June 2, 2008 Thanks a lot for your help. Are all of the _screencapture functions built in? or do I need to download them?They're built into the latest build. Certifications: A+, Network+, Security+, Linux+, LPIC-1, MCSA | Languages: AutoIt, C, SQL, .NETBooks: AutoIt v3: Your Quick Guide - $7.99 - O'Reilly Media - September 2007-------->[u]AutoIt v3 Development - newbie to g33k[/u] - Coming Soon - Fate Publishing - Spring 2013UDF Libraries: SkypeCOM UDF Library | ADUC Computers OU Cleanup | Find PixelChecksumExamples: Skype COM Examples - Skype4COMLib Examples converted from VBS to AutoIt Link to comment Share on other sites More sharing options...
TPlanet Posted June 2, 2008 Share Posted June 2, 2008 Good project! Take a look on Gadwin printscreen... a freeware that does exactly what you want (http://www.gadwin.com/download/) You will get good ideas on what you can add to your app. Link to comment Share on other sites More sharing options...
jdisme Posted June 2, 2008 Author Share Posted June 2, 2008 looks like someone already made one... :Here Link to comment Share on other sites More sharing options...
TPlanet Posted June 2, 2008 Share Posted June 2, 2008 looks like someone already made one... :HereYeah! Just found it too... it looks good! Link to comment Share on other sites More sharing options...
jdisme Posted June 2, 2008 Author Share Posted June 2, 2008 Yeah it does... too good... lol I was hoping to so through the code and make a version of my own. But I dont really understand what is going on. lol. 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