Jump to content
Sign in to follow this  
Zomp

two scripts, just only one tray icon

Recommended Posts

Zomp

I'm a newbie. A kind user informed me that AutoIt does not support multi threading.

So, I would ask: is it possible to have two scripts managed from the same only one tray icon?

That is, I think it is always possible to run two scripts each having its proper tray icon with, for example, the item "exit". Is it possible to run two scripts that refer to the same tray icon with the items "exit 1" and "exit 2"?

Forgive me if I have made a candid question.

Edited by Zomp

Share this post


Link to post
Share on other sites
jben

How come you don't want to run this as 1 script?. What exactly are you trying to do?.

Share this post


Link to post
Share on other sites
Zomp

How come you don't want to run this as 1 script?. What exactly are you trying to do?.

I need to do some operations in the same time: 1) continuously monitoring file changes in a folder, and 2) interacting with the user via GUI and copying some files.

Since it is not possible to have such two tasks running simultaneously, I have to compile two separate scripts, and have two different icons in the system tray.

Is it possible to "combine" the functions of such icons in only one icon?

I hope my rough description is sufficiently clear. Thanks for your patience.

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.