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 

Disable warnings, possible?

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






PostPosted: Sun Nov 22, 2009 9:58 am    Post subject: Disable warnings, possible? Reply with quote

Is there any way to prevent the warning: the hotkey ... will not be active because it doesn't exist in the current keyboard layout? And the duplicate hotkey warning?
Back to top
rtcvb32



Joined: 17 Feb 2008
Posts: 289

PostPosted: Sun Nov 22, 2009 10:37 am    Post subject: Reply with quote

Having a duplicate hotkey is a user error. Simple logic dictates this. When a is pressed, which one should the program call, the top or the bottom one? If it should call both, in what order? that isn't defined, any more than using two labels that are the same.

Code:

a::
;something
return

a::
;something
return

;or

;...
something
gosub label
return

Label:
;do something
return

Label:
;Do something entirely different
return




As for the keyboard layout missing, check your spelling, recently i had something like that and i was missing an r.

Code:

ScollLock::  ;Not on keyboard

ScrollLock:: ;will work.
Back to top
View user's profile Send private message Yahoo Messenger
MasterFocus



Joined: 08 Apr 2009
Posts: 3035
Location: Rio de Janeiro - RJ - Brasil

PostPosted: Sun Nov 22, 2009 2:21 pm    Post subject: Reply with quote

Maybe #ErrorStdOut.
_________________
"Read the manual. Read it again. Search the forum.
Try something before asking. Show what you've tried.
"

Antonio França
My stuff: Google Profile
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
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