JSThePatriot Posted October 27, 2004 Share Posted October 27, 2004 (edited) Hrm... I tried modifying ZeDMIN's code... I just threw bugs into it. I didnt know you couldnt call a function winHide(1) from a hotkeyset. I think that might be a good idea to have that included as there were alot of uneeded lines in that code (In my opinion anyways). Also I am not clear on why the window title needs to be changed. That is annoying, and it also cant hide it again if the window title is changed can it? Edit: Oh I see... it changes the title back when it restores the window... that is nice. Thank you everyone for the program I will possibly add some stuff If I can figure out how I want to go about it, in the mean time someone check into that HotKeySet() functionality. JS Edited October 27, 2004 by JSThePatriot AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
JSThePatriot Posted October 27, 2004 Share Posted October 27, 2004 What versions of AutoIt does DLLCall() work on? .102? Thanks, JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
JSThePatriot Posted October 27, 2004 Share Posted October 27, 2004 HAHAHAHA... Yea as soon as it gets released I will start using it. It seems to have a bunch of options that I wouldnt mind using at all. Thanks for answering. JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
Guest Py7|-|[]/\/ Posted October 27, 2004 Share Posted October 27, 2004 I just wanted to suggest one thing. Change the name of it to "Hide Porno". Because, as well all know, you are hiding porno! Link to comment Share on other sites More sharing options...
ali Posted October 28, 2004 Share Posted October 28, 2004 so what does this script do exactly?here... press "tilda" key to hide... shift+tilda to show... ctrl+tilda to exitexpandcollapse popupHotKeySet("`","HideWins") HotKeySet("+`","ShowWins") HotKeySet("^`","ExitMe") $aWins = GetWindowHandles() $gHidden = 0 Opt("WinWaitDelay",1) While 1 Sleep(50) WEnd Func HideWins() If $gHidden Then Return $aWins = GetWindowHandles() For $i = 1 to $aWins[0] If WinGetTitle($aWins[$i]) <> "Program Manager" And _ String($aWins[$i]) <> "handle=" & _ WinGetHandle("classname=Shell_TrayWnd") Then _ WinSetState($aWins[$i],"",@SW_HIDE) Next $gHidden = 1 EndFunc Func ShowWins() If $gHidden = 0 Then Return Opt("WinTitleMatchMode",4) For $i = 1 to $aWins[0] WinSetState($aWins[$i],"",@SW_SHOW) Next $gHidden = 0 EndFunc Func ExitMe() Exit EndFunc Func GetWindowHandles() Opt("WinTitleMatchMode",4) $GW_HWNDNEXT = 2 $GW_CHILD = 5 $x = DLLCall("user32.dll","hwnd","GetDesktopWindow") $x = DLLCall("user32.dll","hwnd","GetWindow","hwnd",$x[0],"int",$GW_CHILD) $list = "" While 1 $x = DLLCall("user32.dll","hwnd","GetWindow","hwnd",$x[0],"int",$GW_HWNDNEXT) If String($x[0]) = "00000000" Then ExitLoop If BitAnd(WinGetState("handle=" & $x[0]),2) Then _ $list = $list & "handle=" & $x[0] & @LF WEnd $list = StringTrimRight($list,1) Return StringSplit($list,@LF) EndFunc<{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
JSThePatriot Posted October 28, 2004 Share Posted October 28, 2004 I just wanted to suggest one thing. Change the name of it to "Hide Porno". Because, as well all know, you are hiding porno!<{POST_SNAPBACK}>LOL Funny. I actually use it as a boss function for my wife. I compiled a slightly modified ZeDMIN script and sent it to her. She loves it. Now her dad cant jump all over her and stuff. JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
Guest Py7|-|[]/\/ Posted October 28, 2004 Share Posted October 28, 2004 LoL. I GUARENTEE you that 100% of the kids in my computer class at school would LOVE to have something like that. Ahaha. Link to comment Share on other sites More sharing options...
Andre Posted October 28, 2004 Author Share Posted October 28, 2004 Hi, Nice to know that my small idea is now being used and improved by others. Andre What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel! Link to comment Share on other sites More sharing options...
ali Posted October 28, 2004 Share Posted October 28, 2004 how can u hide multiple groups at the same time? Link to comment Share on other sites More sharing options...
JSThePatriot Posted October 28, 2004 Share Posted October 28, 2004 No reason to hide multiple groups at the same time... just stick all of the programs in one group. Or a way to do it where you can switch certain stuff off or all then just add another group that contains all of the other groups inside.. then all you have to do is press that one... make sure that the other groups are unhidden before you use the master or it wont work properly. BTW thanks Andre. I have been meaning to make something like this for a while now, you and ZeDMIN saved me the trouble. Thanks everyone, JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) 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