 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
klbatbcl Guest
|
Posted: Sat Nov 21, 2009 10:01 pm Post subject: How to send File Close (Ctrl F4)? |
|
|
New to AHK.
In most programs that I use (MS Excel, Word, CorelDraw, TurboCad, Eudora, etc.), Ctrl-F4 closes the current file/drawing/message only, while Alt-F4 closes the application.
So I wrote 2 SIMPLE hotkey scripts:
!Down::^F4 ; Alt-Down = Close the current file.
!Up::!F4 ; Alt-Up = Close the current application.
Alt-Up seems to work fine, but Alt-Down does NOTHING.
Any help?
Thanks,
KLB |
|
| Back to top |
|
 |
HotKeyIt
Joined: 18 Jun 2008 Posts: 1994 Location: GERMANY
|
|
| Back to top |
|
 |
klbatbcl Guest
|
Posted: Sat Nov 21, 2009 10:10 pm Post subject: How to send File Close (Ctrl F4)? |
|
|
I assumed you meant
~Alt Down::SendInput ^{F4}
~Alt Up::SendInput !{F4}
I tried it that way and it works!! I think I'm going to like AHK.
Thank you!!
KLB |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|