 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10464
|
Posted: Thu Aug 12, 2004 10:52 pm Post subject: |
|
|
Thanks for mentioning it. I messed up when doing a single tiny change. It's fixed now.  |
|
| Back to top |
|
 |
zorglups
Joined: 04 Feb 2005 Posts: 20
|
Posted: Fri Feb 04, 2005 7:35 pm Post subject: Got the same today with a belgian keyboard. |
|
|
I have a Belgian/French keyboard and use only one language layout on my XP installation.
With the following simple script, I can reproduce the problem.
To type õ I have to type [AltGr][=] [o]
If I stop all scripts running and type:
| Quote: | | [~][o] (depress the tilde key then the i key) |
When I depress the o key, I receive:
If I run the one line script listed above and type the same sequence:
When I depress the o key, I receive:
This is reproducible at will. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10464
|
Posted: Sat Feb 05, 2005 2:42 am Post subject: |
|
|
Thanks for the detailed post. I switched to Belgian/French layout and I can produce this problem too.
This should be fixed in the next update (probably tomorrow). Thanks. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10464
|
Posted: Sat Feb 05, 2005 7:54 pm Post subject: |
|
|
| Thanks to you and /Torben's earlier report, I think this has been fixed in today's release. |
|
| Back to top |
|
 |
zorglups
Joined: 04 Feb 2005 Posts: 20
|
Posted: Mon Feb 07, 2005 12:19 am Post subject: Whaouu !!! What an impressive support !!! |
|
|
Chris, I'm working in a support team and we are fighting really hard to get customer satisfaction by solving the calls as fast as possible.
I think we are a good team.
But you beat all of us.
I never saw a so fast, openminded and entousiastic support.
Thank you to you for your wonderfull application and for listening to us.
Pierre. |
|
| Back to top |
|
 |
zorglups
Joined: 04 Feb 2005 Posts: 20
|
Posted: Mon Feb 07, 2005 12:20 am Post subject: Oooops... |
|
|
I forgot to confirm that your last release solves the problem.
Pierre. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10464
|
Posted: Mon Feb 07, 2005 2:17 am Post subject: |
|
|
| Thanks for the follow-up. |
|
| Back to top |
|
 |
Henrique
Joined: 13 Jul 2006 Posts: 4
|
Posted: Thu Jul 13, 2006 4:11 am Post subject: Causing deadkeys to make "non-valid" combinations |
|
|
Hi all,
I'm brazilian and our keyboard layout provides 3 deadkeys.
I want to "reprogram" all of them; I'll discuss one of them here (the deadkey for the tilde accent).
We have the following situation: that deadkey is only allowed by the OS to be combined with "a" and "o": "ã Ã õ Õ".
(Well, it seems that someone at Microsoft thinks that we brazilians speak spanish, so we can also combine the tilde deadkey with "n" to echo "ñ"...)
Anyway, I intend to "reprogram" that deadkey in such a way that it could also make combinations with other letters, such as "e", for instance.
However, if I try to make a combination with a non-valid letter, this is what I get: "~e". As all of you owners of keyboards which provide deadkeys know, it has always been this way, since those old Windows 3.x days. If I try to make a non-valid combination, I get the accent echoed along with the non-valid letter. (I'm using WinXP Pro SP2 now.)
Then, I found out about AutoHotkey and made the following attempts:
[First attempt]
:c*?:~e::{ASC 7869}
It works; however, the previous letter is deleted. Weird.
1) I type "test"
2) Then, I type "ẽ" and the last letter is deleted: "tesẽ".
3) It gets worse: if I try to type "ẽ" again, the cursor overwrites the very same letter and doesn't move forward. It gets stuck. (Any other letter is regularly echoed in the screen as usual and the cursor moves ahead normally.) So, it's not a valid solution.
[Second attempt]
:c*?:~~e::{ASC 7869}
It works:
1) I type "test"
2) Then, I type the tilde deadkey TWICE, I have two tildes echoed on the screen and, when I type "e", the two former tilde accents are deleted and an "ẽ" is echoed on the screen.
Good, but I have to press the deadkey TWICE. That's counter-productive if I have to type long texts. I want to be able to press the tilde deadkey only once and then type "e", just like I do with "a" or "o".
[Third attempt]
:b0c*?:~e::{BS 2}{ASC 7869}
It works:
1) I type "test"
2) Then, I type the tilde deadkey ONLY ONCE and, when I type "e", I have "testẽ" correctly echoed on the screen. No deleted letters, no faulty behaviour. Fine. But...
... I notice that the screen flashes on me, because AutoHotkey echoes on the screen (as quickly as possible) the tilde, the letter "e", then it deletes both characters, then it echoes "ẽ". This screen flashing is a huge discomfort when you remember that a text processor is all about a white page under black letters and the screen keeps flashing on my face every time I make a combination like that.
My question is: Is there a way to simply cause the OS to disregard the tilde deadkey as a deadkey? That way, I would simply type <~> + <e> and AutoHotkey would provide "ẽ" without any flashing.
I have tried...
SC028::Send {ASC 126}
...And it works. The deadkey is "not dead" anymore. I press it and it echoes "~". However, if I do that, I go back to "ground zero" because I can no longer type "ẽ". The solution found in the third attempt does not work anymore.
Thanks,
Henrique |
|
| Back to top |
|
 |
d-man
Joined: 08 Jun 2006 Posts: 245
|
Posted: Thu Jul 13, 2006 5:09 am Post subject: Re: Causing deadkeys to make "non-valid" combinati |
|
|
| Henrique wrote: | | I want to "reprogram" all of them; I'll discuss one of them here (the deadkey for the tilde accent). |
Henrique: perhaps this method may work for you or give you some ideas. It works for me.
| Code: | StringCaseSense, On
~::
Input, SingleKey, L1, {LControl}{RControl}{LAlt}{RAlt}{LShift}{RShift}{LWin}{RWin}{F1}{F2}{F3}{F4}{F5}{F6}{F7}{F8}{F9}{F10}{F11}{F12}{Left}{Right}{Up}{Down}{Home}{End}{PgUp}{PgDn}{Del}{Ins}{BS}{Capslock}{Numlock}{PrintScreen}{Pause}
If SingleKey = e
send ẽ
if SingleKey = n
send ñ
if SingleKey = a
send ã
if SingleKey = A
send Ã
if SingleKey = o
send õ
if SingleKey = O
send Õ
return |
|
|
| Back to top |
|
 |
Henrique
Joined: 13 Jul 2006 Posts: 4
|
Posted: Thu Jul 13, 2006 8:26 pm Post subject: |
|
|
Thanks d-man,
it was almost OK:
didn't work, perhaps because the <~> is a deadkey on brazilian keyboards. The key went plain mute. So, I traded it for its scancode, which is SC028 (hex):
then it worked.
However, I needed a case sensitive approach:
| Code: | | StringCaseSense, On |
didn't work.
Then, I tried a little modification:
| Code: | | Input, SingleKey, L1 C |
which didn't work either.
This is what happens: I type "~a" or "~A"
and your code echoes both characters together: "ãÃ".
I'm using the latest available AutoHotkey version (1.44.07).
If you have any other ideas, please let me know.
Thanks anyway,
Henrique |
|
| Back to top |
|
 |
d-man
Joined: 08 Jun 2006 Posts: 245
|
Posted: Sat Jul 15, 2006 1:32 am Post subject: |
|
|
| Henrique: No I don’t know, it works for me, but you should post this under ”ask for help“ as your own topic, it is quite buried here, not sure people will see it. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10464
|
Posted: Sat Jul 15, 2006 6:54 am Post subject: |
|
|
| I'm not sure, but I think the above belongs in this topic. In any case, I'll check into it in case it's something that can be fixed. Thanks for all the details. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10464
|
Posted: Wed Aug 09, 2006 7:20 pm Post subject: |
|
|
I believe this issue has been fixed in today's v1.0.44.09. I think the problem boiled down to this:
Fixed one too many backspaces in asterisk hotstrings whose next-to-last character is a dead key.
Thanks for reporting it. |
|
| Back to top |
|
 |
Henrique
Joined: 13 Jul 2006 Posts: 4
|
Posted: Thu Aug 10, 2006 9:52 pm Post subject: Hotstrings and deadkeys |
|
|
Perfect, Chris!
Thank you,
Henrique |
|
| Back to top |
|
 |
chessa
Joined: 29 Jun 2007 Posts: 1 Location: San José, Costa Rica
|
Posted: Fri Jun 29, 2007 9:29 pm Post subject: |
|
|
| Chris wrote: | | I believe this issue has been fixed in today's v1.0.44.09. |
Hi, I'm a new AutoHotKey user. I've just installed v1.0.47.00, and have bumped into the same problem described in this thread. I use a Spanish keyboard, and am getting double accent characters when I'm running a script. Example: á´q
Also, I've noticed that scripts alter text selection with the keyboard, even after the script has been exited. That is, while pressing Shift+Home would normally select text from the cursor position to the beginning of the line, after I run a script this doesn't happen anymore.
Thanks for your help. _________________ Christian Hess
Office: Tel. (506) 295-4721 • Fax (506) 295-3712 • Web: www.poder-judicial.go.cr/salaconstitucional/
Personal: Apdo. postal 239-1002 • Skype: chess-cr • Web: www.hess-cr.com
San José, Costa Rica |
|
| 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
|