AutoHotkey Community

It is currently May 27th, 2012, 2:37 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: November 22nd, 2009, 10:58 am 
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?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 22nd, 2009, 11:37 am 
Offline

Joined: February 17th, 2008, 7:09 am
Posts: 536
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 22nd, 2009, 3:21 pm 
Offline

Joined: April 8th, 2009, 8:23 pm
Posts: 3036
Location: Rio de Janeiro - RJ - Brasil
Maybe #ErrorStdOut.

_________________
"Read the manual. Read it again. Search the forum.
Try something before asking. Show what you've tried.
"
Image
Antonio França
My stuff: Google Profile


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: Alpha Bravo, Google Feedfetcher, rbrtryn and 22 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