Vicks Posted July 12, 2006 Share Posted July 12, 2006 (edited) well i made a quick gui-less script, took me less then a minute but it's useful, i plan make more of them with a GUI with more advance options such as telling certain windows to hide and winkiller which will exit the current window or windows, great for kids to hide stuff from paents which i really don't need but oh well, and pretty easy to use #NoTrayIcon HotKeySet("{F1}", "MinimizeAll") HotKeySet("{F2}" , "Showall") HotKeySet("{Esc}" , "ForceExit") While 1 Sleep(1) WEnd Func MinimizeAll() WinMinimizeAll() EndFunc Func Showall() WinMinimizeAllUndo() EndFunc Func ForceExit() Exit EndFunc edited: wow this script make me feel like a noob again which i still am in auto it here and there, but it is pure useful Edited July 12, 2006 by Vicks [s]Autoit[/s] Link to comment Share on other sites More sharing options...
cppman Posted July 12, 2006 Share Posted July 12, 2006 It is a script that will come useful sometimes. lol one thing: don't use F1 as a hotkey, programs use that as a help hotkey. so if u have a window open, and press f1, it is going to open the help file... Miva OS Project Link to comment Share on other sites More sharing options...
gamepin126 Posted July 12, 2006 Share Posted July 12, 2006 It is a script that will come useful sometimes. lolone thing:don't use F1 as a hotkey, programs use that as a help hotkey. so if u have a window open, and press f1, it is going to open the help file...I was gonna say that Someone released one that could have 2 seperate windows, minimize/maximize them seperately. They were sent to the sys tray. Link to comment Share on other sites More sharing options...
marfdaman Posted July 12, 2006 Share Posted July 12, 2006 Not to be negative about your script, but isn't this the same as win+D? Don't take my pic to serious...~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~You Looked, but you did not see!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Link to comment Share on other sites More sharing options...
Minion Posted July 12, 2006 Share Posted July 12, 2006 (edited) Hey! I've been working on something similar, but this one hides the windows after you've selected which windows you'd like hidden.http://www.autoitscript.com/forum/index.php?showtopic=28959I also have another program that has hotkeys bound to hide windows and mute sound.expandcollapse popup#notrayicon Global $hotkeys HotKeySet("+!z", "Safe") HotKeySet("5", "Volume") HotKeySet("{NUMPADSUB}", "Kill") While 1 sleep(100) WEnd Func Kill() Exit EndFunc Func Volume(); Volume for music SoundSetWaveVolume(0) WinSetState("Gmail -", "", @SW_MINIMIZE) WinSetState("Yahoo", "", @SW_MINIMIZE) WinSetState("http://", "", @SW_MINIMIZE) WinSetState("http://", "", @SW_MINIMIZE) WinSetState("http://", "", @SW_MINIMIZE) WinSetState("http://", "", @SW_MINIMIZE) WinSetState("Game", "", @SW_MINIMIZE) WinSetState("Gmail -", "", @SW_HIDE) WinSetState("Yahoo", "", @SW_HIDE) WinSetState("Game", "", @SW_HIDE) WinSetState("http://", "", @SW_HIDE) WinSetState("http://", "", @SW_HIDE) WinSetState("http://", "", @SW_HIDE) WinSetState("http://", "", @SW_HIDE) EndFunc Func Safe() SoundSetWaveVolume(100) WinSetState("Parcel", "", @SW_SHOW) WinSetState("Gmail -", "", @SW_SHOW) WinSetState("Yahoo", "", @SW_SHOW) WinSetState("http://", "", @SW_SHOW) WinSetState("http://", "", @SW_SHOW) WinSetState("http://", "", @SW_SHOW) WinSetState("http://", "", @SW_SHOW) WinSetState("Game", "", @SW_SHOW) EndFuncEventually, I'm hoping to combine the two so that one would be able to select which windows to be hidden, then have that command bound to a hotkey. Edited July 12, 2006 by Minion Link to comment Share on other sites More sharing options...
Vicks Posted July 12, 2006 Author Share Posted July 12, 2006 (edited) Not to be negative about your script, but isn't this the same as win+D?oh at first i didn't know what you mean't i didn't know about plus win+d but thanks, it's also neat having a script to do it as well Edited July 12, 2006 by Vicks [s]Autoit[/s] Link to comment Share on other sites More sharing options...
Vicks Posted July 12, 2006 Author Share Posted July 12, 2006 Hey! I've been working on something similar, but this one hides the windows after you've selected which windows you'd like hidden. http://www.autoitscript.com/forum/index.php?showtopic=28959 I also have another program that has hotkeys bound to hide windows and mute sound. expandcollapse popup#notrayicon Global $hotkeys HotKeySet("+!z", "Safe") HotKeySet("5", "Volume") HotKeySet("{NUMPADSUB}", "Kill") While 1 sleep(100) WEnd Func Kill() Exit EndFunc Func Volume(); Volume for music SoundSetWaveVolume(0) WinSetState("Gmail -", "", @SW_MINIMIZE) WinSetState("Yahoo", "", @SW_MINIMIZE) WinSetState("http://", "", @SW_MINIMIZE) WinSetState("http://", "", @SW_MINIMIZE) WinSetState("http://", "", @SW_MINIMIZE) WinSetState("http://", "", @SW_MINIMIZE) WinSetState("Game", "", @SW_MINIMIZE) WinSetState("Gmail -", "", @SW_HIDE) WinSetState("Yahoo", "", @SW_HIDE) WinSetState("Game", "", @SW_HIDE) WinSetState("http://", "", @SW_HIDE) WinSetState("http://", "", @SW_HIDE) WinSetState("http://", "", @SW_HIDE) WinSetState("http://", "", @SW_HIDE) EndFunc Func Safe() SoundSetWaveVolume(100) WinSetState("Parcel", "", @SW_SHOW) WinSetState("Gmail -", "", @SW_SHOW) WinSetState("Yahoo", "", @SW_SHOW) WinSetState("http://", "", @SW_SHOW) WinSetState("http://", "", @SW_SHOW) WinSetState("http://", "", @SW_SHOW) WinSetState("http://", "", @SW_SHOW) WinSetState("Game", "", @SW_SHOW) EndFunc Eventually, I'm hoping to combine the two so that one would be able to select which windows to be hidden, then have that command bound to a hotkey.yes but this should open up in a gui because when you compile it you can't set the windows no more [s]Autoit[/s] Link to comment Share on other sites More sharing options...
Vicks Posted July 12, 2006 Author Share Posted July 12, 2006 wow i made 3 post in here already about your guys comments and suggestions. this one is for "chris" & "gamepin" i though about this also but well testing it in scite i push f1 and the helpfile didn't pop up so i think we are good. [s]Autoit[/s] Link to comment Share on other sites More sharing options...
jvanegmond Posted July 12, 2006 Share Posted July 12, 2006 make something that can hide windows individually and when you press Control Down or Control Up, a GUI pops up somewhere with titles that you want to show, and you can select them with Ctrl Up + down. github.com/jvanegmond 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