Sign in to follow this  
Followers 0
bang

HIDER

9 posts in this topic

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

Share this post


Link to post
Share on other sites



you know the "unhide" function wont work

8)


NEWHeader1.png

Share this post


Link to post
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)

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

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

Edited by JdeB

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

why does it move the mouse when you terminate it.. ?

Share this post


Link to post
Share on other sites

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! you’re the best in town Fight!

Share this post


Link to post
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

Share this post


Link to post
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)

Share this post


Link to post
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
Sign in to follow this  
Followers 0