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 

[Solved] Cannot figure out why this triggers...

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



Joined: 25 Jul 2006
Posts: 377
Location: Midwest, USA

PostPosted: Tue May 13, 2008 11:55 pm    Post subject: [Solved] Cannot figure out why this triggers... Reply with quote

Code:
If A_GuiEvent = I
   {
     MsgBox, GuiEvent: %A_GuiEvent%`nErrorLevel: %ErrorLevel%
     If ErrorLevel Contains s
       MsgBox, ErrorLevel has s
     If ErrorLevel Contains S,f
       MsgBox, ErrorLevel has S, f, or SF
   }

The MsgBox says the ErrorLevel = SF, but it triggers both. Thoughts?
_________________
SilverEdge78


Last edited by silveredge78 on Wed May 14, 2008 12:06 am; edited 1 time in total
Back to top
View user's profile Send private message
silveredge78



Joined: 25 Jul 2006
Posts: 377
Location: Midwest, USA

PostPosted: Wed May 14, 2008 12:06 am    Post subject: Reply with quote

I figured it out I think. This seems to address it.

Code:
StringCaseSense, On

_________________
SilverEdge78
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