Sign in to follow this  
Followers 0
unform25

DeSync

8 posts in this topic

#1 ·  Posted (edited)

does anyone know of a way to get ahold of a specific pixel color from an inactive window. Not necesarily minimized but it will be covered by another window completely. I know that the info is still there but the window manager(I'm guessing here) doesn't display it. If not possible in AutoIt, could it be done in another language? If I can figure that out then I can realy do what I want with this script. Oh, if I seem like a noob it's because I am. This is my first script. ty for your help

Edited by unform25

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

does anyone know of a way to get ahold of a specific pixel color from an inactive window. Not necesarily minimized but it will be covered by another window completely. I know that the info is still there but the window manager(I'm guessing here) doesn't display it. If not possible in AutoIt, could it be done in another language? If I can figure that out then I can realy do what I want with this script. Oh, if I seem like a noob it's because I am. This is my first script. ty for your help

It can not be done if it can not be seen...

Edit... thought I'd put it in simpler terms

Edited by SmOke_N

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.

Share this post


Link to post
Share on other sites

Crap that was fast, and crap I'm pwnd

Share this post


Link to post
Share on other sites

Ok, how about this instead. Do you know of a way to make one bot control several instances of a program w/o them acting like syncronised swimmers? what i have is like this:

CODE

Do

For $Z = 1 to $NumberOfClients

func1()

ChangeClient()

Next

For $Z = 1 to $NumberOfClients

func2()

ChangeClient()

Next

For $Z = 1 to $NumberOfClients

func3()

ChangeClient()

Next

Until True = False

And with this it just runs through each client one step at a time and all the clients are held up by the slowest of them. Is there a technique that you know of to basicly run each client seperately from the rest w/o having to worry about each instance fighting over the mouse and window focus?

Share this post


Link to post
Share on other sites

thats called multiprocessing and autoit dosnt have this function and its hard or sometimes impossible to do it other way

Share this post


Link to post
Share on other sites

Eh, I've seen it done. In AutoIt. For the same purpose I'm trying to do now. I just don't have the script to reverse engineer. If I get ahold of it from the guy I'll post the technique and see what ya'll think of it.

Share this post


Link to post
Share on other sites

Eh, I've seen it done. In AutoIt. For the same purpose I'm trying to do now. I just don't have the script to reverse engineer. If I get ahold of it from the guy I'll post the technique and see what ya'll think of it.

Well, you could always program it to say... hey, don't do crap until I'm done here... then you can move to the next part of the loop.

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.

Share this post


Link to post
Share on other sites

easier said than done. I'm still learning the basics for autoit so it's gonna take me a bit to figure it out, and if I can't you can bet I'll be back on here. Thanks for the advice though

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