mark76 Posted January 31, 2007 Posted January 31, 2007 Hi, Im trying to create a simlar progam to the au3info.exe program that comes with autoit. It a gui that lets the user sample fragments of graphics from other parts of the screen. I cant figure out how to do it. The problem I have at the moment is as soon as I move the mouse outside the gui window of my program it cant sample things anymore. If I click it just selects the other application as an active window. I noticed that the au3info.exe program manages to do this ok. I'd love to see the source code so I can see how its done. Thanks, Mark.
Moderators SmOke_N Posted January 31, 2007 Moderators Posted January 31, 2007 I doubt seriously Larry would give you the source, as he's declined every time I've ever seen it asked.But you may get something from this:http://www.autoitscript.com/forum/index.ph...c=24154&hl= 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.
dabus Posted January 31, 2007 Posted January 31, 2007 Search for the following examples: Enabler ControlClassNNFromMousePos CtrlGetByPos
trids Posted February 1, 2007 Posted February 1, 2007 I seem to recall that what we know as au3info started off life as a clever "Script or Scrap" that was posted on these forums. I know that Larry improved on it immensely, but what you're looking for is probably available in that primordial version. HTH
Snarg Posted February 2, 2007 Posted February 2, 2007 You can find more if you refine your search better but, here is what a quick, 30 second search turned up:WindowFromPoint, returns HWND - http://www.autoitscript.com/forum/index.php?showtopic=17656 A little reading goes a long way. Post count means nothing.
ai3uzr Posted October 9, 2008 Posted October 9, 2008 WindowFromPoint, returns HWND Sorry, the link that brought you to this page seems to be out of date or broken.
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