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 

HOW TO, enter ''command'' on release of WIN+R

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





PostPosted: Thu Oct 29, 2009 9:20 pm    Post subject: HOW TO, enter ''command'' on release of WIN+R Reply with quote

===========

CapsLock::#r

===========
what do i add so that it executes my command when i lift capslock (win + R)?
Back to top
Vifon



Joined: 22 Feb 2009
Posts: 47
Location: Poland

PostPosted: Thu Oct 29, 2009 10:17 pm    Post subject: Reply with quote

Is it what you want?
Code:
CapsLock::
   Send #r   ; Press Win+R
   KeyWait CapsLock   ; Wait for CapsLock to be released
   YOUR COMMANDS GO HERE
Return
Back to top
View user's profile Send private message Visit poster's website
Dinguz
Guest





PostPosted: Thu Oct 29, 2009 11:21 pm    Post subject: Reply with quote

WINDOWS + R = run dialogue
(which I have replaced with executor.exe <like launchy)

so i want the program to start when i supress CapsLock which i have bound to Winkey + R
then i enter ``notepad.exe`` or whatever
AND
when i release CapsLock\#+R there is an ENTER
or
send ENTER maybe
Back to top
Dinguz



Joined: 30 Oct 2009
Posts: 26

PostPosted: Fri Oct 30, 2009 12:09 am    Post subject: Reply with quote

figured out the {enter}
thanks for the `send`

so, far I had only made simple rebind kinda hotkeys.
Back to top
View user's profile Send private message
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