Jump to content

two scripts, just only one tray icon


Recommended Posts

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
Link to comment
Share on other sites

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...