slorelee / wimbuilder2

wimbuilder with new UI & new syntax (hta+bat+vbs+js)
475 stars 104 forks source link

korean/english keyboard button did not work. #14

Closed slorelee closed 5 years ago

slorelee commented 5 years ago

here is Ime_ko-KR.bat. https://pastebin.com/b10cYbSv

I changed by this. because when i build with your korean ime.bat, korean/english keyboard button did not work. It just means that IME toggle did not change at rignt corner when i pressed keyboard key. but I can write korean, and english.

Originally posted by @apple3000 in https://github.com/slorelee/wimbuilder2/issues/13#issuecomment-486129370

slorelee commented 5 years ago

@apple3000

Thanks for your modifed Ime_ko-KR.bat. I see you delete the IME/CTF keys and recreate them. I checked the diff with origin IME/CTF and got:

reg delete "HKLM\Tmp_Software\Microsoft\CTF\Modern" /v "WaitForInit" /f
reg add "HKLM\Tmp_Software\Microsoft\CTF\SystemShared" /f
reg add "HKLM\Tmp_Software\Microsoft\CTF\TIP\{0000897b-83df-4b96-be07-0fb58b01c4a4}\LanguageProfile\0x00000000\{0001bea3-ed56-483d-a2e2-aeae25577436}" /v "Enable" /t REG_DWORD /d 0 /f

reg delete HKLM\Tmp_Software\Microsoft\CTF\TIP\{7C472071-36A7-4709-88CC-859513E583A9} /f
reg delete HKLM\Tmp_Software\Microsoft\CTF\TIP\{81EA0A17-AA39-455B-BA20-EA79A8F98966} /f
reg delete HKLM\Tmp_Software\Microsoft\CTF\TIP\{C2CB2CF0-AF47-413E-9780-8BC3A3C16068} /f

reg delete HKLM\Tmp_Software\Microsoft\CTF\TIP\{B115690A-EA02-48D5-A231-E3578D2FDF80}\Category\Item\{B115690A-EA02-48D5-A231-E3578D2FDF80}\{3AF314A2-D79F-4B1B-9992-15086D339B05} /f
reg delete HKLM\Tmp_Software\Microsoft\CTF\TIP\{03b5835f-f03c-411b-9ce2-aa23e1171e36}\Category\Category\{3AF314A2-D79F-4B1B-9992-15086D339B05} /f
reg delete HKLM\Tmp_Software\Microsoft\CTF\TIP\{03b5835f-f03c-411b-9ce2-aa23e1171e36}\Category\Item\{03b5835f-f03c-411b-9ce2-aa23e1171e36}\{3AF314A2-D79F-4B1B-9992-15086D339B05} /f
reg delete HKLM\Tmp_Software\Microsoft\CTF\TIP\{531fdebf-9b4c-4a43-a2aa-960e8fcdc732}\Category\Category\{3AF314A2-D79F-4B1B-9992-15086D339B05} /f
reg delete HKLM\Tmp_Software\Microsoft\CTF\TIP\{531fdebf-9b4c-4a43-a2aa-960e8fcdc732}\Category\Item\{531fdebf-9b4c-4a43-a2aa-960e8fcdc732}\{3AF314A2-D79F-4B1B-9992-15086D339B05} /f
reg delete HKLM\Tmp_Software\Microsoft\CTF\TIP\{6a498709-e00b-4c45-a018-8f9e4081ae40}\Category\Category\{3AF314A2-D79F-4B1B-9992-15086D339B05} /f
reg delete HKLM\Tmp_Software\Microsoft\CTF\TIP\{6a498709-e00b-4c45-a018-8f9e4081ae40}\Category\Item\{6a498709-e00b-4c45-a018-8f9e4081ae40}\{3AF314A2-D79F-4B1B-9992-15086D339B05} /f
reg delete HKLM\Tmp_Software\Microsoft\CTF\TIP\{81d4e9c9-1d3b-41bc-9e6c-4b40bf79e35e}\Category\Category\{3AF314A2-D79F-4B1B-9992-15086D339B05} /f
reg delete HKLM\Tmp_Software\Microsoft\CTF\TIP\{81d4e9c9-1d3b-41bc-9e6c-4b40bf79e35e}\Category\Item\{81d4e9c9-1d3b-41bc-9e6c-4b40bf79e35e}\{3AF314A2-D79F-4B1B-9992-15086D339B05} /f
reg delete HKLM\Tmp_Software\Microsoft\CTF\TIP\{a028ae76-01b1-46c2-99c4-acd9858ae02f}\Category\Category\{3AF314A2-D79F-4B1B-9992-15086D339B05} /f
reg delete HKLM\Tmp_Software\Microsoft\CTF\TIP\{a028ae76-01b1-46c2-99c4-acd9858ae02f}\Category\Item\{a028ae76-01b1-46c2-99c4-acd9858ae02f}\{3AF314A2-D79F-4B1B-9992-15086D339B05} /f
reg delete HKLM\Tmp_Software\Microsoft\CTF\TIP\{B115690A-EA02-48D5-A231-E3578D2FDF80}\Category\Category\{3AF314A2-D79F-4B1B-9992-15086D339B05} /f
reg delete HKLM\Tmp_Software\Microsoft\CTF\TIP\{B115690A-EA02-48D5-A231-E3578D2FDF80}\Category\Item\{B115690A-EA02-48D5-A231-E3578D2FDF80}\{3AF314A2-D79F-4B1B-9992-15086D339B05} /f

reg delete HKLM\Tmp_Software\Microsoft\CTF\TIP\{03b5835f-f03c-411b-9ce2-aa23e1171e36}\LanguageProfile\0x00000411\{A76C93D9-5523-4E90-AAFA-4DB112F9AC76} / v "Description" /f

One by One tested, and I found only remove one key, the toggle will be OK.

reg delete HKLM\Tmp_Software\Microsoft\CTF\TIP{a028ae76-01b1-46c2-99c4-acd9858ae02f}\Category\Item{a028ae76-01b1-46c2-99c4-acd9858ae02f}{3AF314A2-D79F-4B1B-9992-15086D339B05} /f

Please try the new version.