AutoHotkey Community

It is currently May 27th, 2012, 12:10 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: October 11th, 2009, 9:40 pm 
In my script i use "Ralt UP::" trigger, which for some reason blocks all key combinations with it (except alt-tab so far). I want the trigger to work *only* when Ralt is pressed and released alone. And I want all the other key combinations work as they usually do. Is there a way to achieve this?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 11th, 2009, 9:54 pm 
Online

Joined: April 8th, 2009, 7:49 pm
Posts: 6068
Location: San Diego, California
does this do what you want ?
Code:
RAlt::
 KeyWait RAlt
 msgbox


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 12th, 2009, 10:38 am 
no, it doesn't.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 12th, 2009, 11:16 am 
Offline

Joined: May 17th, 2007, 12:07 pm
Posts: 1004
Location: Germany - Deutschland
So what does it do?
Code:
RAlt::
 KeyWait RAlt
 if Errorlevel
   return
 msgbox here
Return


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 12th, 2009, 11:20 am 
Offline

Joined: May 17th, 2007, 12:07 pm
Posts: 1004
Location: Germany - Deutschland
Sorry, try this:
Code:
<Alt::
 msgbox here
Return


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 12th, 2009, 12:27 pm 
Code:
<Alt::
 msgbox here
Return


this gets ignored, the trigger doesn't work at all


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 12th, 2009, 12:29 pm 
Offline

Joined: May 17th, 2007, 12:07 pm
Posts: 1004
Location: Germany - Deutschland
Sorry, it must be the other side:
Code:
>Alt::
  MsgBox here
Return


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 12th, 2009, 1:11 pm 
Offline

Joined: May 17th, 2007, 12:07 pm
Posts: 1004
Location: Germany - Deutschland
Ok I tried it again and see what you mean:
>Alt is triggered with Right Alt AND Left Alt..


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: Apollo, Bing [Bot], BrandonHotkey, Google [Bot], Leef_me, Pulover, rjgatito, XstatyK, Yahoo [Bot] and 15 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