AutoHotkey Community

It is currently May 24th, 2012, 2:50 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: January 18th, 2007, 9:36 pm 
Offline

Joined: January 1st, 2007, 10:32 am
Posts: 17
My main hotkeys file is getting long and complex :-|

One problem is that the file seems sensitive to
ordering issues - putting key definition at the
end of the file doesn't work - e.g. this:

Code:
~RCtrl & LCtrl::
Msgbox,Pressed both control keys.
return


...works at the top of the file and not the bottom.

Any idea on what the most likely cause of that might be?

Should I be looking for hanging return statements, or what?

Alternatively, can I split the file up - without losing access to
a common shared pool of library functions? I.e. is there an AHK #include?

_________________
--
__________
|im |yler http://timtyler.org/ tim@tt1lock.org Remove lock to reply.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 18th, 2007, 9:42 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5346
Location: UK
Most obvious thing is other conflicting hotkeys, i.e. duplicate hotkeys with different modifiers or key combos. Have you checked that?

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 18th, 2007, 11:20 pm 
Offline

Joined: January 1st, 2007, 10:32 am
Posts: 17
Titan wrote:
Most obvious thing is other conflicting hotkeys, i.e. duplicate hotkeys with different modifiers or key combos. Have you checked that?


Hmm - that may explain some of the issues I've found.

Shouldn't AHK warn if definitions are being ignored because of
the existence of previous ones?

_________________
--
__________
|im |yler http://timtyler.org/ tim@tt1lock.org Remove lock to reply.


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: azure, Google Feedfetcher, jyloup, Pulover, Yahoo [Bot] and 10 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