| View previous topic :: View next topic |
| Author |
Message |
Da Rossa
Joined: 06 Dec 2007 Posts: 181
|
Posted: Thu Jun 05, 2008 2:31 am Post subject: About hotstring endchars |
|
|
Hi,
I've put in my script the following:
| Code: | | #Hotstring EndChars ()[]{}:;'"/\,.?!`n `t |
But still {enter} isn't recognized as an endchar. This means that, then I type a non-asterisk string then hit Enter, the string remains unaltered in the line above.
I though that `n means "line break" (is that correct?) So, why isn't that working?
Tks _________________ AHK is perfect. |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Jun 05, 2008 3:03 am Post subject: |
|
|
I don't think you don't need it in your code(?)
Those are already end-chars
Eg,
Will change Cows to Joe if you press enter, etc. (All the ones you listed) |
|
| Back to top |
|
 |
Krogdor
Joined: 18 Apr 2008 Posts: 1025 Location: The Interwebs
|
Posted: Thu Jun 05, 2008 3:06 am Post subject: |
|
|
As the guest said, Enter is a pre-defined hotkey end character.
However, using exactly what you have posted, it works fine for me to hit enter and it activate the hotstring. |
|
| Back to top |
|
 |
Da Rossa
Joined: 06 Dec 2007 Posts: 181
|
Posted: Sat Jun 14, 2008 9:06 pm Post subject: |
|
|
Hi, sorry for late response, I have an updated description of the problem:
I have two problems that I wasn't experiencing until short ago:
1- the {Enter} key is not being recognized as an endchar. The {NumpadEnter} is ok.
2- hotstrings typed at the beginning of a line in a text field, like a notepad, Word or msn messenger window are not being converted/expanded. I must hit a SPACE before so it can work. Why?
Tks! _________________ AHK is perfect. |
|
| Back to top |
|
 |
|