AutoHotkey Community

It is currently May 27th, 2012, 1:35 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: July 11th, 2005, 3:18 pm 
Hi,

I found something, that I think to be a bug.

Try to load this script

Code:

$Space&1::
   Send, {SPACE}1
return

<<or this if you will>>

$Space & 1::
   Send, {SPACE}1
return



The problem is, that you can't use the $-Modifier in this Hotkey-combination.

I assume this problem will occur with other named Hotkeys as well (haven't tried :) )

Regards,
Mike


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: July 11th, 2005, 11:43 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
The $ prefix is not supported (or needed) in ampersand hotkeys. Such hotkeys are already hook hotkeys and can "send themselves" without a problem.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 12th, 2005, 12:13 pm 
... well in that case i would like to suggest to include this very remark in the Autohotkey Help, preferably somewhere near the section

Quote:
You can define a custom combination of two keys by using " & " between them. In the below example, you would hold down Numpad0 then press the second key to trigger the hotkey:

Numpad0 & Numpad1::Run Notepad
Numpad0 & Numpad2::Run Calc


But anyway, thanks for clearing things up.

Lots of thanks,
Michael


Report this post
Top
  
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: Google Feedfetcher and 1 guest


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