AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

If/Then statement for Find feature

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Sergio



Joined: 16 Mar 2008
Posts: 25
Location: Brooklyn

PostPosted: Thu Apr 03, 2008 4:51 pm    Post subject: If/Then statement for Find feature Reply with quote

I'm using the find feature in Notepad and I want to set it up so that if it does not find one thing, it should search for another thing.

How do I get AHK to acknowledge that the find feature was a failure?
_________________
Back to top
View user's profile Send private message
heresy



Joined: 11 Mar 2008
Posts: 291

PostPosted: Thu Apr 03, 2008 5:01 pm    Post subject: Reply with quote

i think it can be done by catching window text
open Window spy and notepad try to search something that isn't exist
then small window pops up that says 'search string' couldn't find.

look for >>>>>>>>>>>( Visible Window Text )<<<<<<<<<<<
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group