Jump to content
Sign in to follow this  
STEPHANVS

DllCall

Recommended Posts

STEPHANVS

Hi.

I noticed, that DllCalls that require some time to finish, are executed in a sequencial order, further more, the script is "paused" while the DllCall is in progress.

For example:

DllCall("user32.dll", "int", "AnimateWindow", "UInt", $Window1, "Int", $Time, "UInt", "0x80000")
DllCall("user32.dll", "int", "AnimateWindow", "UInt", $Window2, "Int", $Time, "UInt", "0x80000")
DllCall("user32.dll", "int", "AnimateWindow", "UInt", $Window3, "Int", $Time, "UInt", "0x80000")

shows the $Window1, $Window2 and $Window3 one after another.

How could i make the three windows appear simultaneously?

Thanks.

Share this post


Link to post
Share on other sites
Generator

This is a scripting language, everything goes by line, one line has to finish executing before executing another, logically you cannot make the windows move simultaneously, but what you can do is write 2 temp.au3 and Run them with your autoitexe, it still can't be simultaneously but at least it's close enough.

Share this post


Link to post
Share on other sites
STEPHANVS

This is a scripting language, everything goes by line, one line has to finish executing before executing another, logically you cannot make the windows move simultaneously, but what you can do is write 2 temp.au3 and Run them with your autoitexe, it still can't be simultaneously but at least it's close enough.

Well, not what I expected... Please don't misunderstand me, but is tried other scripting languages too, and their DllCall needed a manual pause in the script, if i wanted the script to wait for the DllCall to finish... Skipping the pausing line, made my request posible... Well nothing's perfect, that language had other incompleteness...

Thanks anyway...

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.