Jump to content
Sign in to follow this  
rameshkumar

Run Script in Stealth mode

Recommended Posts

rameshkumar

Hi All,

Whenever we try to run a Auto IT Script, its presence is identified with icon shown in System Tray Bar. So, it is possible to pause the script using that icon shown.

I wan't to run the script which should not be stopped. So, I created a script which run as a Service.

But it is identified at Tray Bar. Is there any option to hide that icon to appear at Tray Bar?

Please help regarding this one.

Share this post


Link to post
Share on other sites
Juvigy

Put this in the beginning:

#NoTrayIcon

Share this post


Link to post
Share on other sites
Juvigy

Opt("TrayIconHide", 1)

TrayIconHide Hides the AutoIt tray icon. Note: The icon will still initially appear ~750 milliseconds.
0 = show icon (default)
1 = hide icon

It will briefly appear in the beginning that way.

But this way it completely does it:

#NoTrayIcon 
--------------------------------------------------------------------------------

Indicates that the AutoIt tray icon will not be shown when the script starts.

Share this post


Link to post
Share on other sites
rameshkumar

TrayIconHide Hides the AutoIt tray icon. Note: The icon will still initially appear ~750 milliseconds.
0 = show icon (default)
1 = hide icon

It will briefly appear in the beginning that way.

But this way it completely does it:

#NoTrayIcon 
--------------------------------------------------------------------------------

Indicates that the AutoIt tray icon will not be shown when the script starts.

Thanks a lot dude. It works.

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  

×