Jump to content

Another hider?


Nuffilein805
 Share

Recommended Posts

Ok, i know this topic has been up quite often in the last 2 weeks, but i decided on doing something different

i wanted to:

1. know which windows exist

2. which are shown

3. hide shown windows

4. unhide hidden windows (works on most windows)

that's all i wanted to do and now i did it :geek:

so here it is

removed the code, got too long

needs beta

and here is the downloadable script :o

hideme.au3

have fun using this little tool - btw i was suprised how many hidden windows i've got

edit: new file

Edited by Nuffilein805
Link to comment
Share on other sites

who else wanted to see all hidden windows?

I did...

Had a post about it here.

I made this to view some of the hidden windows.

$win = WinList()
$msg = $win[0][0] & " windoes total."
$test = ""
For $i = 1 To $win[0][0]
    If $win[$i][0] == "" Then
        If WinGetText($win[$i][1]) <> "" Then
            $msg &= @CRLF & $i & ". *(NoName [Will try to display window text below.])" 
            If BitAnd(WinGetState($win[$i][1]), 2) Then $msg &= " *(IsVisible)"
            If Not BitAnd(WinGetState($win[$i][1]), 4) Then $msg &= " *(IsDisabled)"
            $msg &= @CRLF & "---WinText---" & @CRLF & WinGetText($win[$i][1]) & "---WinTextEnd---"
        EndIf
        ContinueLoop
    EndIf
    $msg &= @CRLF & $i & ". " & $win[$i][0]
    If BitAnd(WinGetState($win[$i][1]), 2) Then $msg &= " *(IsVisible)"
    If Not BitAnd(WinGetState($win[$i][1]), 4) Then $msg &= " *(IsDisabled)"
Next
ToolTip($msg, 10, 10)
Sleep(60000)
Edited by gamerman2360
Link to comment
Share on other sites

nice long post :o

you just have 170 windows, thats good i got 212 (40 from logitech ??? what a wonderful keyboard i have :geek:)

i just unhid some of those and it shows all the window-popups like "capslock on", ... funny thing, maybe there's a way of making your co-workers go crazy ;) i'll think about that

Link to comment
Share on other sites

actually i discovered a little problem as well

Cool but the hide and unhide buttons on the gui don't seem to work...

because of the sorting-thing it seems like the listviewitems don't work anymore

figured out the problem and fixed it

updated the file in the first post

Link to comment
Share on other sites

thx

if some1 needs some other functions just ask

btw: i edited gafrosts _guictrllistviewsort to fit my needs

Rather than changing the udf, why don't you use the new function GUICtrlRegisterListViewSort?

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

  • 2 weeks later...

Ok, i know this topic has been up quite often in the last 2 weeks, but i decided on doing something different

i wanted to:

1. know which windows exist

2. which are shown

3. hide shown windows

4. unhide hidden windows (works on most windows)

that's all i wanted to do and now i did it :geek:

so here it is

removed the code, got too long

needs beta

and here is the downloadable script :o

hideme.au3

have fun using this little tool - btw i was suprised how many hidden windows i've got

edit: new file

I have just downloaded this script and want to know what I may have done wrong. Everytime I run it the GUI pops up for a moment (I can see it for a split sec) then it disappears. What can I do?

2¢

All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Link to comment
Share on other sites

I have just downloaded this script and want to know what I may have done wrong. Everytime I run it the GUI pops up for a moment (I can see it for a split sec) then it disappears. What can I do?

I have the same problem. Ironiqually, the GUI seems to hide itself. The process is there.

It returns a error non-beta so i switched to beta, i'm 100% sure of that.

Edited by Manadar
Link to comment
Share on other sites

..no no, start the prog, it starts hidden - make a window active and press for example Alt + PageUp :geek:

BTW you could modify the script: set a ; before #NoTrayIcon :o

That is really cool to see how many hidden windows you have - I think my next step is to find out how to keep a window on top, so that the script stays on top. Thanks for you help.

2¢

All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Link to comment
Share on other sites

nice script!! couldn't figure it out until reading about alt-pageup

can it update automatically.. and when it first starts it should show.. me thinks and multiselect (shift-select/ctrl-select) would be cool

WinSetState ("Unhide Window", "", @SW_SHOW)

send("!{pgup}")

Edited by slightly_abnormal
Link to comment
Share on other sites

ok i'll think about multiselect

the window should start hidden but sometimes it appears for a split-second depending on what kind of pc it's running (old 1s it appears)

but for now i don't have a lot of time for i'm trying to write an "enigma"-clon (but with 255 chars and 1.4septillion combinations possible)

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...