 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Hülyesamu
Joined: 24 Sep 2004 Posts: 22
|
Posted: Wed Oct 20, 2004 9:19 am Post subject: Shift/Alt Sequence |
|
|
Hi, I've found a kind of surprising behavior of a complete group of hotkeys.
This is an example, and seems to be quite simple:
In an application, even in the Notepad the problem exists. When you push the three buttons, certeanly you are unable to do it perfectly one time, so you push the Shift and The Alt, and then the "s". But it doesn't work always, and I started to play with it, and found if I press Alt, and then press Shift, and then the "S", the script works, but, if I push Shift, Alt, "S", respectively, the first letter of the parameter of the send function is missing (in this case, it sends "zoba"). Then I tried a string starting with a different letter than "S" (since the 'S' key is pressed when sending the string, the same chracter as being sent to the application), but found no difference.
And, I tried to make an absurd change (+! in the place of !+):
but there is no difference comared to the first code.
In a Shift+Alt combo, makes the sequence of the modifier keys (like Shift and Alt) difference? |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10716
|
Posted: Wed Oct 20, 2004 11:06 am Post subject: |
|
|
| This happens because of the ALT key issue mentioned in the FAQ. There is also a work-around posted there. Please check it out and let me know if it's not enough: http://www.autohotkey.com/docs/FAQ.htm |
|
| Back to top |
|
 |
Hülyesamu
Joined: 24 Sep 2004 Posts: 22
|
Posted: Wed Oct 20, 2004 7:51 pm Post subject: |
|
|
This is a strange thing cause this made the behaviour of the key the opposite:
up till now, the Shift+Alt+S was the problematic, but now with the
| Quote: | | +!s::Send, {Altup}{Alt}Szoba |
codeline, the Alt+Shift+S became the problematic, and the upper works well.
It's a supid problem, I now. I think I will learn to press the keys in the right order  |
|
| 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
|