AutoHotkey Community

It is currently May 27th, 2012, 1:21 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 49 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
 Post subject:
PostPosted: February 6th, 2009, 11:14 pm 
Hahaha this is so funny. Two years ago I actually wrote a similar script for use at work. :D

I remember that I used "WinHide" for a few particular programs like Firefox, PSPad and the AutoHotkey helpfile among others :D

I came to the conclusion that using GroupAdd beforehand and then hiding the group is much faster than using WinHide for each window. After all, you can never be too fast, especially on a slow computer :P


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2009, 6:18 am 
Offline

Joined: June 9th, 2008, 2:32 am
Posts: 936
Location: Canada
It now uses the unique Id of a window. This allows "Safe" windows aka windows that wont be hidden. If the whole .2 of a second matters that much then hide by groups. I just like to make it as complex as possible. Why? Because i can.

_________________
Image
I know i have 6 legs. It's cuz I'm special.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2009, 10:45 am 
This post just brought back the memory of me, 2 years ago, trying to hide the "naughty" windows from my narrow-minded boss. 8) AHK was new to me, and I wrote only very simple scripts. Your script looks much better of course.

GroupAdd is faster on very slow/old computers. Mine was 1.7 Ghz / 256 MB ram, with windows XP. Even Notepad needed a few seconds to start...


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2009, 4:01 pm 
Offline

Joined: June 9th, 2008, 2:32 am
Posts: 936
Location: Canada
NEW VERSION! I fixed the bug were some window will hide and some wont come back. Everything revolves around Unique ID. As soon As i finish up the interface ill post it under the original.

_________________
Image
I know i have 6 legs. It's cuz I'm special.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 49 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bon and 16 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group