Jump to content

HIDER


bang
 Share

Recommended Posts

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 :lmao:

;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
Link to comment
Share on other sites

@Valuater

That is what I think he meant by the following.

only hide one window!!! then it not come back agin :lmao:

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

  • Developers

Unhide will work fine as long as the Focus isn't given to another window....

Edited 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.
  :)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...