BALA Posted January 10, 2007 Share Posted January 10, 2007 Is it possible to minimize a program to the system tray without editing that program's code? I'm using NotePad as an example. [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com Link to comment Share on other sites More sharing options...
Xenobiologist Posted January 10, 2007 Share Posted January 10, 2007 Hi, Run("notepad.exe") Sleep(200) $t =WinGetTitle("") WinSetState($t, "", @SW_MINIMIZE) Sleep(3000) WinSetState($t, "", @SW_RESTORE) So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
BALA Posted January 10, 2007 Author Share Posted January 10, 2007 (edited) Will this work with pretty much all programs? EDIT: I was hoping for something that would minimize it to the right bottom of the screen (where all the program's icons are), sorry if I used the wrong term. Edited January 10, 2007 by BALA [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com Link to comment Share on other sites More sharing options...
Xenobiologist Posted January 10, 2007 Share Posted January 10, 2007 Hi, give it a try. Why not? So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Twar3Draconis Posted January 10, 2007 Share Posted January 10, 2007 This does go to the system tray, but it still stays in the task bar, as well as minimizing back to the task bar and not the system tray when you open it from the system tray and try to minimize it. Link to comment Share on other sites More sharing options...
BALA Posted January 10, 2007 Author Share Posted January 10, 2007 This does go to the system tray, but it still stays in the task bar, as well as minimizing back to the task bar and not the system tray when you open it from the system tray and try to minimize it.Sorry can't understand that On my computer, it just minimizes it, doesn't seem to go to the system tray. [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com Link to comment Share on other sites More sharing options...
sheck Posted January 10, 2007 Share Posted January 10, 2007 (edited) Here this will help.use F11 to hide active windows, then use tray icon to unhide themhide_to_tray.au3Reply: Just add the variable at the top of the script where it says Global Edited January 11, 2007 by sheckandar Live and Learn, 'cause Knowledge is Super Power. Link to comment Share on other sites More sharing options...
BALA Posted January 11, 2007 Author Share Posted January 11, 2007 Says $itemnum is being used without being declared. [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now