| View previous topic :: View next topic |
| Author |
Message |
ahk_man
Joined: 20 Jun 2004 Posts: 39
|
Posted: Sun Jul 04, 2004 6:13 pm Post subject: Urgent Help! |
|
|
; beginning of script
i & F3::
SetKeyDelay,55
Send,abc
Return
; end of script
The above script prevent my " i " key on my keyboard from not working. For example, pressing the " i " key on the keyboard doesn't generate a letter " i ". I assume the above script took control of the " i " key. Please help me trouble shoot the script. I need to create a hotkey that will use the letter " i " and the function key F3 together. Note, the letter " i " must be before F3. However, but if you could get my shift key on my mouse to work that would be preferable. For example, I have a microsoft mouse that I assign the fourth button as a Shift key. However, I noticed the shift key from the mouse and the keyboard do not behave in the same way. How can I get the shift key on the mouse to behave like the shift key on the keyboard? |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1717
|
Posted: Sun Jul 04, 2004 9:06 pm Post subject: |
|
|
use this
~i & F3:: _________________
 |
|
| Back to top |
|
 |
ahk_man
Joined: 20 Jun 2004 Posts: 39
|
Posted: Sun Jul 04, 2004 9:33 pm Post subject: Thanks, but problem has not been solved yet. |
|
|
Rajat,
Thanks for your replay; however, I knew about the tilda infront of the hotkey label. Although that corrected the " i " key from being lost, however, I do not want to key in a " i " everytime I click on the hotkey. I want to be able to use it whenever I want. In other words by using the above, the output is like this:
~i & F3::
Send, abc
Output: iabc
***********
I want the output to be abc only. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10464
|
Posted: Sun Jul 04, 2004 10:57 pm Post subject: |
|
|
There is only one other way to do it, but this will cause the i key to take effect only when it is released:
i & F3::
SetKeyDelay,55
Send,abc
Return
$i::Send, i ; This is the critical line. |
|
| Back to top |
|
 |
ahk_man
Joined: 20 Jun 2004 Posts: 39
|
Posted: Mon Jul 05, 2004 12:15 am Post subject: Thanks a million |
|
|
Aye Chris,
Thanks a lot. You're extremely helpful! |
|
| Back to top |
|
 |
|