Jump to content

Recommended Posts

Posted

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
Posted

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

Posted

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)

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
×
×
  • Create New...