It is a pity that allchars does not support Unicode. This is a strong
limitation. It should not be so difficult to implement, since, in despair that
allchars would ever support Unicode, I wrote a Autohotkey script which works
in a way very similar to allchars but support full unicode. If the programers
were interested, I can post the code which is in alpha state.
Dysmas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have worked a lot on this project and the code I provided above is totally
obsolete.
Unicode support in AutoHotKey needs the new _L version which will not work
with dictionary_v2.ahk.
If you want to betatest my present working version, you can find it on the Ad-
libros project on SourceForge.
Go to the UniChars directory, it is there.
I have not yet created a project for it, Ad-Libros is an old project already
moved, so I used this folder for today. When betatesting is finished a
UniChars project will be created.
Best Regards
Dysmas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Just an string example produced by Unichars (I am unsure if it will not finish
in ??? because of html, but let us try. There is ciryllic, Arabic, greek in
it.
xxĂŠŮθЩفשּׂ\Ουκ ελάβον Πολιν\فكّٯخضڜڪڿې۞۩
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried the betatest 0.7 (in Ad-libros) and found a few (small) bugs:
a. it calls itself 0.6 (instead of 0.7)
b. it doesn't parse correctly keys containing '=' (even tough there are in the
example)
c. the Menu (aka AppsKey) is missing from HotKey1 dropdown (but works if
hacked to add it, except I added that after "custom" since I've seen that's
used with direct index 12)
d. sometimes the compose key isn't just got (doesn't even do the "usual"
windows behaviour, though) and the following keys are just passed along
Overall I'm very happy to have an alternative to AllChars, which often get
stuck and must be closed-reopened.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried it a bit, it works very well. I'm trying using Ctrl as hotkey (next:
Menu) and it never failed.
The only thing I found at now is that Win+m is used in the script, overriding
Windows hotkey; also, I tried to use AltGr as hotkey, but it doesn't work.
Anyway they're only small nuisances in an excellent script.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On my keyboard : If I choose RAlt as Hotkey, the AltGr key works. There is no
way in AutoHotKey to support directly AltGr.
On my keyboard Appskey does not work because it still displays a context menu,
that is why i suppressed it. But if it works on other systems, I will add it
again.
Keep in mind this is a VERY EARLY release.
0.8 next week.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
AppsKey gives to me the same problem, but only on one PC; tomorrow I'll check
if the one it works on has some difference with this one (both of them runs
English Windows XP, but I'm not sure about which SP has the other).
By the way, I tried something like
=
({space}{space} = nbsp)
but it doesn't accept {space}{space} (not really a problem, I was only trying
random stuff).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The following change permits the usage of '=' as an hotkey.
Notice that it doesn't currently support the usage of an equal in the first 4
characters of the substituted text, tough, but that can be avoided adding a
bit of padding spaces.
• If I open Configuration, make some change, then go to Help tab and then
click "OK", UniChars is not restarted.
• There is some problem with =; for example:
-==≅ gives =≅ simply by pressing Compose+-.
=-=≅ gives nothing.
Generally speaking, if = is the first character UniChars does nothing, if it's
the second it gives the character preceded by a = pressing the first
character.
• Some other troublesome code:
Nv=↯ doesn't try discarded case (generally, if there is a capital letter and a
small one, "Try discarded case" doesn't work).
00=∞ gives ∞ simply by pressing Compose+0.
Compose+CC gives C also if there is no code for it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
And, now #m works as Windows hotkey, but in unichars07.ahk there is still that
code (I guess it's still the old version, while the exe is the new one).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Generally speaking, if = is the first character UniChars does nothing, if
it's the second it gives the character preceded by a = pressing the first
character
.
= was not supported at all in 0.7. It is now supported in 0.7b but you must
use {equal} instead of = Your code becomes :
-{equal}=≅
{equal}-=≅
Same thing for {space} instead of a space and {semicolon} instead of ;
generally, if there is a capital letter and a small one, "Try discarded
case" doesn't work
True, it was designed like that, but I plan to add support for mixed case.
00=∞ gives ∞ simply by pressing Compose+0.
Compose+CC gives C also if there is no code for it.
Perhaps a bug, I will check.
(I guess it's still the old version, while the exe is the new one)
I left the code but commented the full block with // so it is inactive. I
will not let down this function but I will rewrite it a little and make the
Hotkey configurable.
Thanks for your feedback.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If I open Configuration, make some change, then go to Help tab and then
click "OK", UniChars is not restarted.
And your changes are not saved ! Problem : This not the same OK button and
they do totally different things. I will use a second Window instead of a tab,
it will be more clear. But that will be for 0.9
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is a serious problem. autoHotkey converts variables which contains only
digits in numeric and there is nothing I can do about it. Hence 00 is
converted in 0. And if you try 001 you will find the resulting code is 1. I
have not found a workaround and this must be considered as a limitation :
leading 0 are not supported in purely numeric codes.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I noticed UniChars doesn't works in Foxit
Reader: the icon turns red when
Compose is pressed and yellow when a existing combination is typed, but the
character(s) doesn't appear.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can find there the last version 0.8d. It seems quite stable. A lot of work
since 0.7. Please read the doc in the part about ini files, there is important
stuff there.
And it is better to continue this discussion on the forum of UniChars, now.
00=∞ gives ∞ simply by pressing Compose+0.
fixed
I noticed UniChars doesn't works in Foxit Reade
Will be fixed in the next version.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It is a pity that allchars does not support Unicode. This is a strong
limitation. It should not be so difficult to implement, since, in despair that
allchars would ever support Unicode, I wrote a Autohotkey script which works
in a way very similar to allchars but support full unicode. If the programers
were interested, I can post the code which is in alpha state.
Dysmas
Well, just in case someone is interested here is the code (remember this is a
Autohotkey script) :
Then you must have a file name allchars2U.ini which contains a line like :
Hotkey = &
This line define the call key (here : &). Use what you want.
Then other lines on the model :
code = data
code must be a max of 5 characters.
data can be anything, but on one line.
end of lines are written : \n
The file is written in utf-8.
Comments after a ;
Example is difficult to post here because many characters will be trashed:
To call type & and then the code.
N.B. : the above script uses dictionary_v2.ahk I found this on Autohotkey
site.
I can't find dictionary_v2.ahk; can you give me a link where to download it?
I have worked a lot on this project and the code I provided above is totally
obsolete.
Unicode support in AutoHotKey needs the new _L version which will not work
with dictionary_v2.ahk.
If you want to betatest my present working version, you can find it on the Ad-
libros project on SourceForge.
Go to the UniChars directory, it is there.
I have not yet created a project for it, Ad-Libros is an old project already
moved, so I used this folder for today. When betatesting is finished a
UniChars project will be created.
Best Regards
Dysmas
Just an string example produced by Unichars (I am unsure if it will not finish
in ??? because of html, but let us try. There is ciryllic, Arabic, greek in
it.
xxĂŠŮθЩفשּׂ\Ουκ ελάβον Πολιν\فكّٯخضڜڪڿې۞۩
I tried the betatest 0.7 (in Ad-libros) and found a few (small) bugs:
a. it calls itself 0.6 (instead of 0.7)
b. it doesn't parse correctly keys containing '=' (even tough there are in the
example)
c. the Menu (aka AppsKey) is missing from HotKey1 dropdown (but works if
hacked to add it, except I added that after "custom" since I've seen that's
used with direct index 12)
d. sometimes the compose key isn't just got (doesn't even do the "usual"
windows behaviour, though) and the following keys are just passed along
Overall I'm very happy to have an alternative to AllChars, which often get
stuck and must be closed-reopened.
I tried it a bit, it works very well. I'm trying using Ctrl as hotkey (next:
Menu) and it never failed.
The only thing I found at now is that Win+m is used in the script, overriding
Windows hotkey; also, I tried to use AltGr as hotkey, but it doesn't work.
Anyway they're only small nuisances in an excellent script.
Thanks for the informations.
OK, I will fix what I can.
On my keyboard : If I choose RAlt as Hotkey, the AltGr key works. There is no
way in AutoHotKey to support directly AltGr.
On my keyboard Appskey does not work because it still displays a context menu,
that is why i suppressed it. But if it works on other systems, I will add it
again.
Keep in mind this is a VERY EARLY release.
0.8 next week.
RAlt for AltGr works also for me, thanks.
AppsKey gives to me the same problem, but only on one PC; tomorrow I'll check
if the one it works on has some difference with this one (both of them runs
English Windows XP, but I'm not sure about which SP has the other).
By the way, I tried something like
=
({space}{space} = nbsp)
but it doesn't accept {space}{space} (not really a problem, I was only trying
random stuff).
Oh, by the way: I changed #m in #h: the latter isn't a Windows hotkeys and I
find it easier to remember (it adds a Hotstring).
The following change permits the usage of '=' as an hotkey.
Notice that it doesn't currently support the usage of an equal in the first 4
characters of the substituted text, tough, but that can be avoided adding a
bit of padding spaces.
For example:
Gets interpreted as:
Some fixes in 07b (just uploaded)
The main change is : = ; and
if strLen($code) > 0
{
StringReplace, $code, $code, {equal}, % "="
StringReplace, $code, $code, {semicolon}, % ";"
StringReplace, $code, $code, {space}, % " "
pdic:= $data
Some minor bugs:
• If I open Configuration, make some change, then go to Help tab and then
click "OK", UniChars is not restarted.
• There is some problem with =; for example:
-==≅ gives =≅ simply by pressing Compose+-.
=-=≅ gives nothing.
Generally speaking, if = is the first character UniChars does nothing, if it's
the second it gives the character preceded by a = pressing the first
character.
• Some other troublesome code:
Nv=↯ doesn't try discarded case (generally, if there is a capital letter and a
small one, "Try discarded case" doesn't work).
00=∞ gives ∞ simply by pressing Compose+0.
Compose+CC gives C also if there is no code for it.
And, now #m works as Windows hotkey, but in unichars07.ahk there is still that
code (I guess it's still the old version, while the exe is the new one).
.
= was not supported at all in 0.7. It is now supported in 0.7b but you must
use {equal} instead of = Your code becomes :
-{equal}=≅
{equal}-=≅
Same thing for {space} instead of a space and {semicolon} instead of ;
True, it was designed like that, but I plan to add support for mixed case.
Compose+CC gives C also if there is no code for it.
Perhaps a bug, I will check.
I left the code but commented the full block with / / so it is inactive. I
will not let down this function but I will rewrite it a little and make the
Hotkey configurable.
Thanks for your feedback.
And your changes are not saved ! Problem : This not the same OK button and
they do totally different things. I will use a second Window instead of a tab,
it will be more clear. But that will be for 0.9
Using {equal} instead of = works; sorry, I overlooked that in your post.
As for #m: at now I changed it in #h, but having it configurable'd be great.
This is a serious problem. autoHotkey converts variables which contains only
digits in numeric and there is nothing I can do about it. Hence 00 is
converted in 0. And if you try 001 you will find the resulting code is 1. I
have not found a workaround and this must be considered as a limitation :
leading 0 are not supported in purely numeric codes.
I noticed UniChars doesn't works in Foxit
Reader: the icon turns red when
Compose is pressed and yellow when a existing combination is typed, but the
character(s) doesn't appear.
I created the UniChars project on SourceForge.
You can find there the last version 0.8d. It seems quite stable. A lot of work
since 0.7. Please read the doc in the part about ini files, there is important
stuff there.
And it is better to continue this discussion on the forum of UniChars, now.
fixed
Will be fixed in the next version.