1
Skrommel's Software / Re: LabelControl
« on: May 12, 2015, 10:52 AM »
Hi everybody,
sorry to revive this zombie thread, but I've been experiencing annoying problems with the otherwise wonderful LabelControl application for a long time and now I just wanted to share my solutions with other users.
Problem: German keyboards (and likely some others) come with an AltGr key. AltGr is always interpreted by the OS / by AHK as Ctrl+Alt, so LabelControl always pops up and interferes even if you just want to type for example the the "[" symbol, which is on AltGr+8 on a German keyboard (the non-numpad 8, that is) . Sometimes LabelControl's labels are stuck on the screen after that, too.
Solution: I added another GetKeyState check for the Alt key state into the loop that starts around line 203/204:
Now if I hold the AltGr key to type a special char, LabelControl's labels pop up, but since the Alt key is down, LabelControl ignores the number being typed and the desired char is typed.
Let me know if this is of any help to anybody
Oh and I added another quick'n'dirty hack to prevent IE9+ from crashing, see this other thread (by disabling LabelControl in IE windows).
Skrommel, thank you for this wonderful tool!
Cheers
Phil
sorry to revive this zombie thread, but I've been experiencing annoying problems with the otherwise wonderful LabelControl application for a long time and now I just wanted to share my solutions with other users.
Problem: German keyboards (and likely some others) come with an AltGr key. AltGr is always interpreted by the OS / by AHK as Ctrl+Alt, so LabelControl always pops up and interferes even if you just want to type for example the the "[" symbol, which is on AltGr+8 on a German keyboard (the non-numpad 8, that is) . Sometimes LabelControl's labels are stuck on the screen after that, too.
Solution: I added another GetKeyState check for the Alt key state into the loop that starts around line 203/204:
Code: Autohotkey [Select]
- ;----- Input the number
- number=
- {
- digit=0
- {
- If (altstate="U") {
- If (state="D" Or numpadstate="D" )
- {
- number=%number%%digit%
- number=
- }
- digit+=1
- }
- }
- If state=U
- }
- Return
Now if I hold the AltGr key to type a special char, LabelControl's labels pop up, but since the Alt key is down, LabelControl ignores the number being typed and the desired char is typed.
Let me know if this is of any help to anybody
Oh and I added another quick'n'dirty hack to prevent IE9+ from crashing, see this other thread (by disabling LabelControl in IE windows).
Skrommel, thank you for this wonderful tool!
Cheers
Phil