Jump to content

scrip needed - to hide the trayicon of a program?


Alagor

Recommended Posts

like hiding the icon of the program that I am going to execute?

for example:

#NoTrayIcon

Run("daemon.exe") *

* daemon.exe = is the program not the installer.

as to hide its icon of automatica form, or the one of any other program?

thank you very much!

Link to comment
Share on other sites


Example 2 changed to suit. Ensure you have SysTray_UDF.au3 next to your script when you run it and it will include it. If compiled, the include file will be included in the executable.

; -- Example 2 --
#NoTrayIcon
#include "SysTray_UDF.au3"
Run("daemon.exe")
$st_process = "daemon.exe"; change this if needed
_SysTrayIconRemove(_SysTrayIconIndex($st_process))
; Note that only the icon was removed; process still should be running

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
  • Recently Browsing   0 members

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