AutoHotkey Community

It is currently May 27th, 2012, 3:48 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: November 3rd, 2005, 6:31 pm 
Offline

Joined: July 15th, 2005, 3:19 pm
Posts: 140
Location: Denmark
I have a window that with the title "Invoice c=". At the same time I have a window with the title "invoices". I also have a window with the title "Claims c=".

I need to wait for the "invoice c=" window to activate. I have tried to use both

WinWaitActive, Invoice%A_Space%C=
and
WinWaitActive, Invoice C=

But none of them fires. I could probably come up with a relatively stable workaround, but it would be great to have it work properly.

Thanks


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 3rd, 2005, 7:13 pm 
Offline

Joined: March 24th, 2005, 11:50 am
Posts: 398
Location: germany
Sorry, I tried it, and it worked well, below the example

Code:
settimer, open_Invoice, 1000
WinWaitActive, Invoice C=
msgbox, The window just opend
return

open_Invoice:
gui, show, w200 h200, Invoice C=
settimer, open_Invoice, off
return


P.S. set "titlematchmode, 2" if "Invoice C=" is not the whole string in your title


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 3rd, 2005, 7:15 pm 
Offline

Joined: October 21st, 2005, 12:02 am
Posts: 56
Location: Germany
Hi David,

did you try to SetTitleMatchMode to 3?
http://www.autohotkey.com/docs/commands/SetTitleMatchMode.htm

Please make sure that you really found a bug. Otherwise post in "Ask for help".

Regards,

Laudrin


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 3rd, 2005, 8:13 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
This might be a case sensitivity issue. If you replace uppercase C= with lowercase c=, it might work.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 7th, 2005, 6:13 pm 
Offline

Joined: July 15th, 2005, 3:19 pm
Posts: 140
Location: Denmark
Thanks for your help. It is not a case-sensitivity issue. I will provide you with a test program to show the bug, soon.

Cheers


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 4 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