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 

Urgent Help!

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
ahk_man



Joined: 20 Jun 2004
Posts: 39

PostPosted: Sun Jul 04, 2004 6:13 pm    Post subject: Urgent Help! Reply with quote

; 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
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1717

PostPosted: Sun Jul 04, 2004 9:06 pm    Post subject: Reply with quote

use this

~i & F3::
_________________
Back to top
View user's profile Send private message
ahk_man



Joined: 20 Jun 2004
Posts: 39

PostPosted: Sun Jul 04, 2004 9:33 pm    Post subject: Thanks, but problem has not been solved yet. Reply with quote

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
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10464

PostPosted: Sun Jul 04, 2004 10:57 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
ahk_man



Joined: 20 Jun 2004
Posts: 39

PostPosted: Mon Jul 05, 2004 12:15 am    Post subject: Thanks a million Reply with quote

Aye Chris,
Thanks a lot. You're extremely helpful!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   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