Sign in to follow this  
Followers 0
DarkNecromancer

Question about hotkeys

4 posts in this topic

New to V3 and one thing i always wanted was hotkeys. But i have a question about them. does the program muiltithread or do i have to create a second runalong script to end my program if i press the hotkey no matter whats going on?

Share this post


Link to post
Share on other sites



No multithreaded, except for the adlib statements.


Who else would I be?

Share this post


Link to post
Share on other sites

You may try to recall the program more than once using different arguments in order to have more part of the code going at the same time.

Share this post


Link to post
Share on other sites

You can use a hotkey to say pause your script, and a different one to start it back up.

You can use adlib to check variables, and adjust things, but basically autoit runs one thing at a time. There are many ways to have it seem like it is doing more than that, but even adlib is basically running one part of the script, and at a certain variable stoping, and running the adlib function, and then resuming where it left off.

You can have an autoitscript run other scripts and programs to multitask as well.

I have one script that does a few dozen things depending on time, keys pressed, and windows open. It looks like it is multitasking, but it is basically doing a bunch of conditionals (if ... then), it uses hotkeys for some things.

Think not of limitations, but of what goal you wish to acomplish...


AutoIt3, the MACGYVER Pocket Knife for computers.

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