Sign in to follow this  
Followers 0
ezzetabi

Starting a func without waiting that it ends?

5 posts in this topic

Is possible start a function and continue the script without waiting that returns?

If not, it is somewhat in the ToDo list?

Share this post


Link to post
Share on other sites



somehow, clever usage of adlibenable comes to mind.


"I'm not even supposed to be here today!" -Dante (Hicks)

Share this post


Link to post
Share on other sites

Adlib is the closest thing to concurrency available. It's faux-concurrency, though (Technically, all concurrency is faux without multiple processors, but I digress). AutoIt wasn't designed with concurrency in mind, so resource access and wonderful topcis like that are not addressed in the same way they would need to be if resources were to be accessed multiple times simultaneously.

Share this post


Link to post
Share on other sites

Nice as usual, dear.

I see. So the only possible way should be using a compiled script started with a Run I guess.

Share this post


Link to post
Share on other sites

Most projects that utilize multipile files could be combined into one file. Exceptions would include anything that would surpass the limitations of a single AutoIt script, such as more than 1 GUI, more than 64 files open, etc.

Just because you can do it in one file doesn't always means it's a good idea. It's best to judge each situation, and figure out if you want to call functions, include from a 2nd source file, or include a helper binary to execute a job.


[font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes.

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