Jump to content


Exiting Program


  • Please log in to reply
1 reply to this topic

#1 someguy

someguy
  • Guests

Posted 24 July 2004 - 04:57 PM

is there a way to close/exit programs such as Sygate Firewall which closes to system tray.
WinKill/WinClose don't work

#2 Chris

Chris
  • Administrators
  • 10727 posts

Posted 24 July 2004 - 05:50 PM

Such programs often have a hidden main window. You could try this:
DetectHiddenWindows, on
WinClose,

From what I've learned about tray apps, most of them should (must?) have a main window of some kind to support the tray menu, even if it's permanently hidden.

There are also some command line utilities mentioned in the Utilities forum that can send a Close message to any process (or kill it if there's no other way).

Finally, a program's EXE might have command line switches used to turn it off and on. And as a last resort, if the program is always in the same place in the tray and you're using XP, you could try:
Send #b ; Win+B to activate the tray.
Send {right 4}{AppsKey}
Send
(or use PixelSearch to find an app's tray icon and click on it)