Jump to content
Sign in to follow this  
Guest Guidosoft

HideIt.Au3

Recommended Posts

Guest Guidosoft

OK, this is a REAAAALLLY Simple one but it is so usefull.

;Hide it and then show it.

#include "EasyArray.AU3"

$WinArray = CollectionCreate(0)

HotKeySet("{F9}","HideYo")
HotKeySet("{F10}","ShowYo")

While 1
WEnd

Func HideYo()
   $H = WinGetHandle("")
   WinSetState($H,"",@SW_HIDE)
   $WinArray = CollectionAdd($WinArray, $H)
EndFunc

Func ShowYo()
   If $WinArray[0] > 0 then
      $H = $WinArray[$WinArray[0]]
      $WinArray = CollectionRemove($WinArray, $WinArray[0])
   
      WinSetState($H,"",@SW_SHOW)
   EndIf
EndFunc

So you went to that bad web page.

And yo moma come in real quick.

So swift you cannot move the mouse before she enters.

Well, you just keep your fingure near F9 while you lookin at bad stuff.

Then when you hear the door, you press it.

You can just keep pressing F9 to hide all currently active windows.

Pressing F10 unhides the last hidden window.

So all hidden windows are placed of a stack of hidden window. You press F9 to retrieve the one from the top of the stack.

Requires EasyArray.AU3 from my site.

Have a nice time lookin at porn you perverts!!

Share this post


Link to post
Share on other sites

lol actually i made something like that but it was used to hide Diablo II window cuz my parents always complain that i play a lot :lmao: haha

Yours is good

Share this post


Link to post
Share on other sites

nice lol .. i can see sum practical use for this .. one thing .. your "mum" might get a bit sus when youve been in your room for an hour and your "mum" comes in and ur staring at a blank desktop ... nothing sus lol . You might want chnage it so when you press F9 it hides all the windows but activates a window that u set it too... like a Yahoo search page or an AutoIt page might be good =)

just an idea

Edited by burrup

qq

Share this post


Link to post
Share on other sites

I sorta edited it so no-one can kno wat ur doing.

;Hide it and then show it.
#notrayicon
#include "EasyArray.AU3"

$WinArray = CollectionCreate(0)

HotKeySet("{F9}","HideYo")
HotKeySet("{F10}","ShowYo")
HotKeySet("{F12}","Terminate")

While 1
WEnd

Func Terminate()
    Exit 0
EndFunc
    

Func HideYo()
   $H = WinGetHandle("")
   WinSetState($H,"",@SW_HIDE)
   $WinArray = CollectionAdd($WinArray, $H)
EndFunc

Func ShowYo()
   If $WinArray[0] > 0 then
      $H = $WinArray[$WinArray[0]]
      $WinArray = CollectionRemove($WinArray, $WinArray[0])
  
      WinSetState($H,"",@SW_SHOW)
   EndIf
EndFunc

Share this post


Link to post
Share on other sites
Guest Guidosoft

Maybe I should make it so that you can press a special key combination to prevent F10 from being used. And then you press the combination again and you can use F10 to re-show the window again so your moma can't press F10 and see what you wus doin.

And maybe I could make it so you use F12 to change from Single Window Mode to Batch Mode. In batch mode, you just press F9 to add to toggle quee, and you press F10 to switch from ALL those windows current state to the oppisitie state. If they shown they get hidden and vica versa.

What do you tinkeths?

Share this post


Link to post
Share on other sites

Requires EasyArray.AU3 from my site.

Your page doesn't seem to work... Is there another place to get the easyarray.au3?


Writing damaged code since 1996.

Share this post


Link to post
Share on other sites

http://www.autoitscript.com/fileman/users/public/Guido%20the%20fuck/easyarray.au3 (homepage: http://www.autoitscript.com/fileman/users/public/Guido%20the%20fuck/)

..I guess the name of his public-folder is a breakout of those small-intellectual men

Share this post


Link to post
Share on other sites

I hit it one time more than windows I had open and my ICONS DISAPPEARED!! LOL

I hit F10 and it came back but :rofl: I can see some fun uses for this

Share this post


Link to post
Share on other sites

I hit it one time more than windows I had open and my ICONS DISAPPEARED!! LOL

I hit F10 and it came back but :rofl: I can see some fun uses for this

<{POST_SNAPBACK}>

Try clicking on your taskbar and press F9. :)

I used to have over 700 posts. This is a new account. I am not a newbie.My AutoIt Home Page - Here is all my AutoIt stuff. Well, actually, I have loads more, I am just too lazy to put it on my page right now so deal with it.Guess what? The unvierse is made out of basically nothing.Think about it? What is the smallest building block of anything, it is what? A chunk of nothingness. Thats all. Hey this peice of space is a forperborb and it is so.

Share this post


Link to post
Share on other sites

Hi,

Bit new to AutoIt - what a great scripting program, you guys rock!

With regard to your script, I've written an idea that i think is simpler & prevents the blank screen problem mentioned. I don't agree with looking at the afore mentioned sites, but may be useful for other purposes.

Here's the script:

(when i eventually get my new site finished (prob another 2 months..) i'll eventually post this & my other progs up to gavamm.com)

(I've moved to the F11 key so you don't hit F10 by accident, leaving all windows open!)

HotKeySet("{F9}", "minwin")

HotKeySet("{F11}", "termprog")

While 1

WEnd

Func minwin()

Send("{lwindown}m{lwinup}")

Run("explorer.exe")

EndFunc

Func termprog()

exit

EndFunc

Share this post


Link to post
Share on other sites

Bit new to AutoIt - what a great scripting program, you guys rock!

Thanx, but I must admit. These scripts are nothing. We have done some really great things at AutoIt Forums. You should check out some of the members script.

I would classify everyone under the following layer of scripters (note this is just my classification and not the boards. THis is just how I would classify scripters and the time frame in witch they advance.)

1. Newbie Scripters - New ones, who mostly just entered the forum, with very little scripting knowledge and little scripting abilities. Ussually takes hours to a week or 2 before you progress to the next stage.

2. Regular Scripters - Has sufficent scripting knowledge and can do a fair amount of things. Logical Capabilities are molded and are suitable for simple yet usefull scripting. Ussually takes 1 week to 3 months before they progress to the next stage.

3. Super Scripters - Is well molded in their logical capability and is suffiencent enough to construct a large varierity of complex scripts capable of performing interesting tasks. Takes experience in general, and critical thinking, and practice in scripting, and learning, to progress to the next stage.

4. Mega Scripters - Can script almost anything. Can be given a job, and will be able to complete that job is most cases. Ussually can finish a really kick-ass script in a reasonable time frame (I'm talking about percrastination here.)

5. Ultra Scripters - Forget about it. No one here is capable of this. You can give them any task, that autoit can do, and they script it. It is done. They are the big people, capable of programming ANYTHING that is possible with autoit.

Anyway, this is my classification of scripters. I think I will put it on my site, as some type of study on scripters or something. I am sure it is not 100% true. I am just gona observe how newbies progress from when they come untill they reach 1000 posts.

Will you be my first study? You will have to be a bit more active in the forum so I can determine your progression. I won't bother you, just observe your code and ideas posted in threads.

I myself place myself between Regular Scripter and Super Scripter

People like cyber slug, nova, etc, I think they are very advanced, I am not sure, they could be placed inbetween super scripter and mega scripter.

Transitions from high stages to even higher ones take alot of experience in scripting.

hmm. Why am I even posting this lol? Oh well. This is my theory anyways.

Welcome to the forum, my new study.


I used to have over 700 posts. This is a new account. I am not a newbie.My AutoIt Home Page - Here is all my AutoIt stuff. Well, actually, I have loads more, I am just too lazy to put it on my page right now so deal with it.Guess what? The unvierse is made out of basically nothing.Think about it? What is the smallest building block of anything, it is what? A chunk of nothingness. Thats all. Hey this peice of space is a forperborb and it is so.

Share this post


Link to post
Share on other sites

hmm. Why am I even posting this lol? Oh well. This is my theory anyways.

Wondering that myself :)

Anyway, I'd put you in a very medium 'Regular Scripter' category.


"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

Share this post


Link to post
Share on other sites

you should start doing that and see what the average scripter knows and stuff. you could see how fast most people learn autoit too. This might help Jon and other people like Larry and jpm document autoit better.


[font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font]

Share this post


Link to post
Share on other sites

mmm, i can see how my comment "what a great scripting program, you guys rock!" may be a bit ambiguous, i was refering to AutiIt.

Share this post


Link to post
Share on other sites

Wondering that myself :D

Anyway, I'd put you in a very medium 'Regular Scripter' category.

<{POST_SNAPBACK}>

Will you cut it with the insults already before I flame your ass off. :)

Haven't I shown you great kindness today and yesterday? The hell with that if you don't shutup with those insults.

I put myself inbetween regular scipter and super scripter. PERIOUD. The end.

Creating... new topic.... one sec.

Edit: Wait no... I am doing a pysic bs experiment and need a strong emotion. Piss me off some more so I can perform better.

Edited by Guido

I used to have over 700 posts. This is a new account. I am not a newbie.My AutoIt Home Page - Here is all my AutoIt stuff. Well, actually, I have loads more, I am just too lazy to put it on my page right now so deal with it.Guess what? The unvierse is made out of basically nothing.Think about it? What is the smallest building block of anything, it is what? A chunk of nothingness. Thats all. Hey this peice of space is a forperborb and it is so.

Share this post


Link to post
Share on other sites

I wasn't insulting you.

You said regular or super, and I said regular.


"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

Share this post


Link to post
Share on other sites

I wasn't insulting you.

You said regular or super, and I said regular.

<{POST_SNAPBACK}>

:D:D:):huh::(

Forgive me. My mistake. :(


I used to have over 700 posts. This is a new account. I am not a newbie.My AutoIt Home Page - Here is all my AutoIt stuff. Well, actually, I have loads more, I am just too lazy to put it on my page right now so deal with it.Guess what? The unvierse is made out of basically nothing.Think about it? What is the smallest building block of anything, it is what? A chunk of nothingness. Thats all. Hey this peice of space is a forperborb and it is so.

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...