AutoHotkey Community

It is currently May 25th, 2012, 10:46 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Pre-1.0.12 Changes
PostPosted: May 26th, 2004, 7:58 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
I'm pretty sure the ExcludeText parameter of all windowing commands has always been broken. Does anyone actually use this, or can you envision any realistically likely use for it? I'm debating whether to remove it entirely or fix it.

Here is what it's supposed to do: "Windows whose text include this value will not be considered."

One of the main potential uses is for window groups: it would allow a class of windows (such as a text editor) to exclude individual windows that contain a key phrase in their window text.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 27th, 2004, 2:52 am 
Offline

Joined: March 2nd, 2004, 10:10 pm
Posts: 443
Location: SLC, Utah
I haven't used it in any of my scripts, but it is a nice option to have. I just haven't ran into any situations where I could use it.

thanks,
beardboy


Last edited by beardboy on May 27th, 2004, 6:15 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 27th, 2004, 6:11 am 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1865
i haven't used it either...

but it'd make sense to also mail this post of urs on the mailing list to get more user opinion.

i know how much backward compatability matters to u.

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 27th, 2004, 11:55 am 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
Quote:
but it'd make sense to also mail this post of urs on the mailing list to get more user opinion.

Done, thanks.

Quote:
i know how much backward compatability matters to u.

Well, for a feature that's always been broken, it seems best to either fix it or get rid of it if no one is using it, even though doing either has a very slight chance of breaking old scripts that may have come to depend on the current behavior for ExcludeText (which doesn't do much of anything currently).


Top
 Profile  
Reply with quote  
 Post subject: ExcludeText parameter
PostPosted: May 29th, 2004, 1:55 pm 
Hi everybody

I used the ExcludeText parameter in :

Code:
#Left::WinMinimize,,,,""


to try to minimize the active window

It worked in 1.0.10 version of autohotkey, but didn't work anymore when I installed version 1.0.11 !!!

Isn't better to fix it if it's possible ?

Nemroth


Top
  
Reply with quote  
 Post subject:
PostPosted: May 29th, 2004, 2:42 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
Quote:
WinMinimize,,,,""

Double quotes have no special meaning in AutoHotkey -- they are always treated literally. I can't think of anything that could explain different behavior in 1.0.11 vs. earlier versions. In any case, I think I'm going to fix this feature so that it will exclude windows that have a text element containing ExcludeText.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot 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