Jump to content
Sign in to follow this  
davidmmulder

How to: Remove executable system tray icon

Recommended Posts

davidmmulder

Is there a way to remove the system tray icon which allows you to pause or exit a script? I don't want this to be present in my executable, as it will be running on client machines and I don't want them to be able to (easily) stop the script.

Share this post


Link to post
Share on other sites
ProgAndy

I don't want them to be able to (easily) stop the script.

Why?

And you can find the solution in the helpfile, category "Keyword/Statement reference"


*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Share this post


Link to post
Share on other sites
davidmmulder

Why?

And you can find the solution in the helpfile, category "Keyword/Statement reference"

We're having problems with users not running anti-virus scans on their systems, so I'm using AutoIT to automate the scans and then hide the window until the scan is complete. If they click on the icon and stop the script, then the process wont complete and will remain hidden in the background until they reboot. Which would defeat the purpose :D Just trying to make it dummy proof.

Ah, and I found the answer:

#NoTrayIcon

Thanks.

Edited by davidmmulder

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.