 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
exhueydriver
Joined: 12 Jul 2004 Posts: 51 Location: Fife,Wa
|
Posted: Tue Aug 03, 2004 5:00 am Post subject: Shift & NumPad1 |
|
|
I do a lot of data entry, and discovered that most of it uses the NumPad, so I
remapped most of the keys around the NumPad to help, and I can also do 1 key perform scripts in my dB, FileMaker Pro. Suffice to say, I love this App.
My problem, I'm trying to do something that should be very easy, but I'm obviously doing something wrong.
What I want-
LShift & NumPad1::Send, ST{Space} (if you're entering a street number that ends in 1, it should have a "ST " after it, ends in 2, a "ND ", etc,)
It doesn't work. I've tried adding ~,*,$,everything I could find in the Help, it just does nothing. If I change Shift to LCtrl or LWin, it works, but I really would like to use the
Shift key. Please help.
Thanx
Don |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10463
|
Posted: Tue Aug 03, 2004 11:14 am Post subject: |
|
|
The reason Shift+Numpad combinations do not work is that the shift key temporarily turns off Numlock while you're holding it down. Therefore, you would use NumpadEnd instead of Numpad1. Also, you need to omit the LShift prefix because the keyboard driver forces the shift key into the up position the moment you press a Numpad key. Example:
NumPadEnd::MsgBox You pressed Shift+Numpad1, or pressed Numpad1 while Numlock was off.
It's an obscure issue so I'm glad you asked about it. |
|
| Back to top |
|
 |
exhueydriver
Joined: 12 Jul 2004 Posts: 51 Location: Fife,Wa
|
Posted: Tue Aug 03, 2004 4:02 pm Post subject: |
|
|
Thanks, Chris
So to re-map the Number keys on the NumPad with (I have NumPadLock Alwayson) the Shift key as modifier, I just use the PGUp, PgDn, etc.
BTW, in your example, shouldn't it be
+NumPadEnd::MsgBox etc.?
I may actually learn this stuff!
Again, Thanks.
Don |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10463
|
Posted: Tue Aug 03, 2004 8:16 pm Post subject: |
|
|
| Quote: | BTW, in your example, shouldn't it be
+NumPadEnd::MsgBox etc.? |
No, I don't think it would work with the +. This is because even though you are physically holding down the shift key, the keyboard driver forces it into the up position the moment you press a Numpad key. Thus, AHK actually sees you release the shift key (even though you didn't) right before pressing NumpadEnd. |
|
| Back to top |
|
 |
exhueydriver
Joined: 12 Jul 2004 Posts: 51 Location: Fife,Wa
|
Posted: Wed Aug 04, 2004 12:20 am Post subject: |
|
|
My bad, trying to correct the guy who wrote this, especially
when I didn't even try it out first.
My apologies
Don |
|
| 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
|