Windows titles are case sensitive

Martin J Pensak <[email protected]>
Newsgroups gmane.comp.windows.autoit.user
Message-ID <OFA9E76212.834C109B-ON85257211.0049FE34-85257212.0046AA08@CDCLN05.LVS.DUPONT.COM>
I'm using AutoIT to do some things in a folder window which involves the 
user's username,
e.g. c:\documents and settings\%username%.
No problem, I retrieved the username and used Run("explorer c:\documents 
and settings\ " & $user), basically,
the window I want opens up fine.  But depending on how the user account 
was created on the PC,
the username part of the folder name may be in upper case, lower case, or 
even mixed.
So then when I want to do a WinWaitActive to be sure my new window is open 
before I Send keys to it,
I'm in trouble.  I guess I could use WinList, check all window titles 
looking for the one I want,
but I'd have to wait and poll that list occasionally, not nearly as clean 
as WinWaitActive.

Sure would be nice if there was another setting like WinTitleMatchOptions 
that requested non-case-sensitive matchinig.
Thanks.

This communication is for use by the intended recipient and contains
information that may be Privileged, confidential or copyrighted under
applicable law. If you are not the intended recipient, you are hereby
formally notified that any use, copying or distribution of this e-mail,
in whole or in part, is strictly prohibited. Please notify the sender by
return e-mail and delete this e-mail from your system. Unless explicitly
and conspicuously designated as "E-Contract Intended", this e-mail does
not constitute a contract offer, a contract amendment, or an acceptance
of a contract offer. This e-mail does not constitute a consent to the
use of sender's contact information for direct marketing purposes or for
transfers of data to third parties.

Francais Deutsch Italiano  Espanol  Portugues  Japanese  Chinese  Korean

           http://www.DuPont.com/corp/email_disclaimer.html


[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AutoItList/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/AutoItList/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.