rambo3889 Posted February 8, 2006 Share Posted February 8, 2006 (edited) I made a Gui to Hide and unhide windows (Know that it isnt the best gui and that but just wanna share it)The idea is from Nufflein805 in this Topic Topicexpandcollapse popup#Include <GuiList.au3> #include <GUIConstants.au3> GUICreate("Hide-Unhide gui", 300, 225) $thelist = GUICtrlCreateList("", 20, 20, 250, 150) $hide = GUICtrlCreateButton("Hide", 20, 190, 75, 25) $update = GUICtrlCreateButton("Update", 108, 190, 75, 25) $unhide = GUICtrlCreateButton("Unhide", 195, 190, 75, 25) $infolabel = GUICtrlCreateLabel("", 20, 0, 250, 15) GUISetState() While 1 $msg = GUIGetMsg() Switch $msg Case $hide If GUICtrlRead($thelist) = "" Then MsgBox(0, "Hide", "Please select a item in the list to hide") Else WinSetState(GUICtrlRead($thelist), "", @SW_HIDE) EndIf Case $unhide If GUICtrlRead($thelist) = "" Then MsgBox(0, "unHide", "Please select a item in the list to unhide") Else WinSetState(GUICtrlRead($thelist), "", @SW_SHOW) EndIf Case $GUI_EVENT_CLOSE Exit Case $update add() EndSwitch WEnd Func add() $winlist = WinList() GUICtrlSetData($infolabel, "there was found " & $winlist[0][0] & " windows") _GUICtrlListClear ($thelist) For $1 = 1 To $winlist[0][0] If $winlist[$1][0] = "" Then ;; Else _GUICtrlListAddItem ($thelist, $winlist[$1][0]) EndIf Next ;; EndFunc;==>add Edited February 8, 2006 by rambo3889 My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight! Link to comment Share on other sites More sharing options...
Faustvii Posted February 8, 2006 Share Posted February 8, 2006 nice.. usefull to use on the school Link to comment Share on other sites More sharing options...
rambo3889 Posted February 8, 2006 Author Share Posted February 8, 2006 Yes that was 1 of the reason to i made it My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight! Link to comment Share on other sites More sharing options...
Faustvii Posted February 8, 2006 Share Posted February 8, 2006 hehe.. Link to comment Share on other sites More sharing options...
Faustvii Posted February 8, 2006 Share Posted February 8, 2006 you should make so you have hotkeys too Link to comment Share on other sites More sharing options...
rambo3889 Posted February 8, 2006 Author Share Posted February 8, 2006 Too hide the gui or the window there have been selected My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight! Link to comment Share on other sites More sharing options...
Faustvii Posted February 8, 2006 Share Posted February 8, 2006 yes so you select the window you want to hide and then it hides both gui and window Link to comment Share on other sites More sharing options...
rambo3889 Posted February 8, 2006 Author Share Posted February 8, 2006 Update now the PGDW hide the gui and ALT+PGDN hide the selected item and the PGUP show the gui and ALT + PGUP show the selected window My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight! Link to comment Share on other sites More sharing options...
Faustvii Posted February 8, 2006 Share Posted February 8, 2006 okay looks nice Link to comment Share on other sites More sharing options...
rambo3889 Posted February 8, 2006 Author Share Posted February 8, 2006 Tyvm Liope My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight! Link to comment Share on other sites More sharing options...
Faustvii Posted February 8, 2006 Share Posted February 8, 2006 No problem Link to comment Share on other sites More sharing options...
tee3 Posted February 9, 2006 Share Posted February 9, 2006 i get an error when i compile its error reading the file : GuiList.au3 how can i fix this? Link to comment Share on other sites More sharing options...
rambo3889 Posted February 9, 2006 Author Share Posted February 9, 2006 Have you the last beta??? My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight! Link to comment Share on other sites More sharing options...
Nuffilein805 Posted February 9, 2006 Share Posted February 9, 2006 funny, you actually changed my gui 1. in your 1st post there are no hotkeys 2. i wanna see how you unhide a selected window with gui hidden 3. how can you tell the state of a window? 4. the winlist() - thing is funny as well, because it returns all windows (even desktop and start ), but you can't hide every window there definitely are loads of mistakes in your adapted version i post my new script later on with some new functions, even though i'm not sure some1 needs it except for school (or maybe "work") my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
Faustvii Posted February 9, 2006 Share Posted February 9, 2006 funny, you actually changed my gui 1. in your 1st post there are no hotkeys2. i wanna see how you unhide a selected window with gui hidden 3. how can you tell the state of a window?4. the winlist() - thing is funny as well, because it returns all windows (even desktop and start ), but you can't hide every windowthere definitely are loads of mistakes in your adapted versioni post my new script later on with some new functions, even though i'm not sure some1 needs it except for school (or maybe "work")Would be gr8 if you post it Nuffilein Link to comment Share on other sites More sharing options...
rambo3889 Posted February 9, 2006 Author Share Posted February 9, 2006 Just so you Nufflein some of the lines mayb is similar yous but id write it My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight! Link to comment Share on other sites More sharing options...
tee3 Posted February 9, 2006 Share Posted February 9, 2006 Have you the last beta???what do u mean do i have last beta? Link to comment Share on other sites More sharing options...
rambo3889 Posted February 9, 2006 Author Share Posted February 9, 2006 do have installed the lasted beta? My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight! Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 9, 2006 Moderators Share Posted February 9, 2006 Latest Beta Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
rambo3889 Posted February 9, 2006 Author Share Posted February 9, 2006 Thanks SmOke N My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! youre the best in town Fight! 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