longxx Posted April 30, 2009 Share Posted April 30, 2009 hi all I'm making a bot for a flash based game, I want to ask if AutoIt has a function/feature to take screenshot of particular part of the screen? thanks!!! Link to comment Share on other sites More sharing options...
FreeFry Posted April 30, 2009 Share Posted April 30, 2009 Have a look at the _ScreenCapture UDF. Specifically _ScreenCapture_CaptureWnd. Link to comment Share on other sites More sharing options...
longxx Posted April 30, 2009 Author Share Posted April 30, 2009 Thanks FreeFry! this is indeed what I was looking for. now I have another question---what I plan to do is take a small screenshot every 10 mins, so evantually I will have hunderds of pictures... is there a way to combine the pics into one? the region is only numbers, is there a way to convert numbers from picture to numbers to store in text files? thx! Link to comment Share on other sites More sharing options...
FreeFry Posted April 30, 2009 Share Posted April 30, 2009 Hmm. I'm sure there is, but the question is, why do you need so many pictures? Some background information could be good. ^ _^ Link to comment Share on other sites More sharing options...
longxx Posted April 30, 2009 Author Share Posted April 30, 2009 (edited) no problem basically it's a bot makes money in a Flash based game, this seems to be the only way to capture the amount of money I have I log on every 10 mins with different accounts to do this, this is mainly for myself to log the process of my bot I attached one partial screen I just took, you can see it's a small picture with amount of gold shown... but if I run this over night i gonna have hundreds/thousands of pics, which could be difficult to browse when i run it for days... is there anyway to combine multiple JPG into one big JPG? converting them into numerical text could be too difficult. thx Edited April 30, 2009 by longxx Link to comment Share on other sites More sharing options...
FreeFry Posted April 30, 2009 Share Posted April 30, 2009 I do not know how to convert them into a number autoit can read, but perhaps you could save them in a directory with name of the date(day, time, etc.) the screenshot was taken? Sorry but dealing with images in this way isn't something I'm very experienced with, but if you search the forum you might find what you're looking for. 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