bang Posted February 5, 2006 Posted February 5, 2006 IM finnish with a hider then hide A window you have open on Pagedown and Unhide on Pageup and you exit the program on ESC only hide one window!!! then it not come back agin ;createt by BANG #include<guiconstants.au3> HotKeySet("{ESC}","terminate") HotKeySet("{pgdn}","hide") HotKeySet("{pgup}","unhide") MsgBox(0,"hider","this program will hide this you have on front run??") MouseMove(0,0) $hide = ToolTip("hider online hide in Pgedown unhide on pageUP hide this massage on < and unhide on z exit on ESC",0,0) Func hide() WinSetState("","",@SW_HIDE) EndFunc Func unhide() WinSetState("","",@SW_SHOW) EndFunc Func terminate() MouseMove(0,0) ToolTip("hider off",0,0) sleep(2000) Exit 0 EndFunc While 1 Sleep(250) WEnd Exit
JSThePatriot Posted February 5, 2006 Posted February 5, 2006 @ValuaterThat is what I think he meant by the following.only hide one window!!! then it not come back agin 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)
Developers Jos Posted February 5, 2006 Developers Posted February 5, 2006 (edited) Unhide will work fine as long as the Focus isn't given to another window.... Edited February 5, 2006 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Faustvii Posted February 5, 2006 Posted February 5, 2006 why does it move the mouse when you terminate it.. ?
rambo3889 Posted February 5, 2006 Posted February 5, 2006 2 things : isnt createt = created and why the #include "guiconstants.au3" i cant see any guis 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!
Nuffilein805 Posted February 6, 2006 Posted February 6, 2006 hm, i see your problem you can try to fix it with my piece of code only works for 1 window Func hide() $a = wingettitle ("") WinSetState($a,"",@SW_HIDE) EndFunc Func unhide() WinSetState($a,"",@SW_SHOW) EndFunc maybe you can try this 1 for more than 1 window dim $xx[1000] $i=1 $j=1 Func hide() $xx[$i] = wingettitle ("") WinSetState($xx[$i],"",@SW_HIDE) $i = $i + 1 EndFunc Func unhide() WinSetState($xx[$j],"",@SW_SHOW) $j = $j + 1 EndFunc hides 1 window after another unhides it in the same order you hid them my little chatmy little encryption toolmy little hidermy unsafe clickbot
JSThePatriot Posted February 6, 2006 Posted February 6, 2006 hm, i see your problem you can try to fix it with my piece of code only works for 1 window Func hide() $a = wingettitle ("") WinSetState($a,"",@SW_HIDE) EndFunc Func unhide() WinSetState($a,"",@SW_SHOW) EndFunc maybe you can try this 1 for more than 1 window dim $xx[1000] $i=1 $j=1 Func hide() $xx[$i] = wingettitle ("") WinSetState($xx[$i],"",@SW_HIDE) $i = $i + 1 EndFunc Func unhide() WinSetState($xx[$j],"",@SW_SHOW) $j = $j + 1 EndFunc hides 1 window after another unhides it in the same order you hid them I would make sure that the $a variable is declared as a global. 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)
Nuffilein805 Posted February 6, 2006 Posted February 6, 2006 I would make sure that the $a variable is declared as a global.JSok, thats a point haven't thought about this my little chatmy little encryption toolmy little hidermy unsafe clickbot
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