Re: Windows titles are case sensitive
"valery_vi" <[email protected]>
| Newsgroups | gmane.comp.windows.autoit.user |
|---|---|
| Message-ID | <[email protected]> |
User account and/or folder name is case insesitive, I think.... To test it try create folders: AutoIt and AUTOIT in the same path. --- In [email protected], Martin J Pensak <Martin.J.Pensak@...> wrote: > > 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/