Sign in to follow this  
Followers 0
mark76

source code for au3info.exe

6 posts in this topic

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.

Share this post


Link to post
Share on other sites



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=


[center]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.[/center]

Share this post


Link to post
Share on other sites

Search for the following examples:

Enabler

ControlClassNNFromMousePos

CtrlGetByPos

Share this post


Link to post
Share on other sites

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

:)

Share this post


Link to post
Share on other sites
WindowFromPoint, returns HWND Sorry, the link that brought you to this page seems to be out of date or broken.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0