liquid x Posted December 29, 2005 Share Posted December 29, 2005 (edited) I'm a newbie to autoit, I've previously been using QM2 but finding it lacking in features essential to game macroing.. AutoIt seems alot better, and I'd like to get into it instead. I'm curious if something like this would be possible: A game I'm playing has a window which is slightly transparent, omni-present on screen. It displays a list of things nearby the player. What I'd like to do is be able to scan that list for specific pre-defined entries, and perform an action if they are found. All the text is the same color, same font.. but the background is tinted grey and I cannot make it solid. I can actually make the rest of the UI solid instead of transparent, but it won't let me make that window solid.. I'm guessing to make it harder for macroers. If I didn't explain that well enough let me know.. I'm not sure how to explain it better. Edited December 29, 2005 by liquid x Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted December 29, 2005 Moderators Share Posted December 29, 2005 Try using the AutoInfo Tool that comes with AuotIt, and see if the text you are wanting is readable, if so you can use options like ControlGetText(). Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
liquid x Posted December 29, 2005 Author Share Posted December 29, 2005 Try using the AutoInfo Tool that comes with AuotIt, and see if the text you are wanting is readable, if so you can use options like ControlGetText().Unfortunately it's not, it seems like the game uses entirely it's own control system. I had this same prob using QM2.. I've been able to do quite a few things just by searching for pixels or checking the color of a pixel at a certain location.. but I don't know how I could make that work with this list box. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted December 29, 2005 Moderators Share Posted December 29, 2005 You may need to make your own OCR with pixelchecksum(), or maybe you'd be able to just use pixelchecksum if the words are always the same. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
liquid x Posted December 29, 2005 Author Share Posted December 29, 2005 (edited) You may need to make your own OCR with pixelchecksum(), or maybe you'd be able to just use pixelchecksum if the words are always the same.The text (that I'm searching for) is always the same.. same font, size, color, text..But the problem with using something like pixelchecksum is that as I said the background behind the text is transparent.. so two checksums won't match even with the same text, as the game scenery behind the text changes =(It it not 100% transparent, it is about 60% opaque. Edited December 29, 2005 by liquid x Link to comment Share on other sites More sharing options...
liquid x Posted December 29, 2005 Author Share Posted December 29, 2005 So.. not really possible? Link to comment Share on other sites More sharing options...
seandisanti Posted December 29, 2005 Share Posted December 29, 2005 So.. not really possible?sounds like your own OCR is the way to go... do a search for OCR and you'll find a few that were made for diablo that you may be able to tailor to your needs. 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