0

I am trying to write an Autohotkey using notepad++ (also tried with notepad) but turned out it was not possible in default settings. I looked on internet and learned that ISO 8859-7:2003 and UNICODE encoding has it and I changed notepad++ ->Encoding->Character set->Greek-> ISO 8859-7

But I a still not able to insert small omega.

Any help is appreciated.

Thanks

Tab
  • 133

2 Answers2

0

different ways to send Unicode characters in AutoHotkey:

vText := Chr(0x3C9)
SendInput %vText%

SendInput {U+03C9}

WinGet, hWnd, ID, A
ControlGetFocus, vCtlClassNN, ahk_id %hWnd%
PostMessage, 0x102, 0x3C9, 1, %vCtlClassNN%, ahk_id %hWnd% ;WM_CHAR
vafylec
  • 196
0

This is the long way around, but it will also allow the typing of all Unicode characters "by hand".

Alt Codes:

"Small Omega" can be typed using an Alt-code, if enabled in the Registry Editor:

HKEY_CURRENT_USER > Control Panel > Input Method

String Value: EnableHexNumpad

Value Data: 1

(from "Ben N" in post Windows 10 - Alt code results in wrong character)

Then,

typing it through AHK is the same as by hand:

Send, {RAlt down}{NumpadAdd}{Numpad0}{Numpad3}c{Numpad9}{RAlt up}

However,

the script will not work for those without the EnableHexNumpad value in the Registry Editor enabled.

I have also verified one of vafylec's suggestions: Send, {U+03c9}