--- In [email protected], "Sheri" <sheri...@...> wrote:
>
> --- In [email protected], "Sheri" <sherip99@> wrote:
> >
> > --- In [email protected], "sungkwon.jung" <sungkwon.jung@> wrote:
> > >
> > > --- In [email protected], "Sheri" <sherip99@> wrote:
> > > >
> > > > --- In [email protected], "sungkwon.jung" <sungkwon.jung@> 
> > > > wrote:
> > > > >
> > > > > --- In [email protected], "Sheri" <sherip99@> wrote:
> > > > > >
> > > > > > --- In [email protected], "sungkwon.jung" <sungkwon.jung@> 
> > > > > > wrote:
> > > > > > >
> > > > > > > how can i get & set the language of Global IME(Input Method 
> > > > > > > Editor) in XP with this magical PowerPro?
> > > > > > >
> > > > > > 
> > > > > > 
> > > > > > See if this message has what you want:
> > > > > > 
> > > > > > http://tech.groups.yahoo.com/group/power-pro/message/28081
> > > > > > 
> > > > > > Regards,
> > > > > > Sheri
> > > > > >
> > > > > 
> > > > > well.. i got the error message at the following line
> > > > > 
> > > > > hWIme=dll.call("imm32|ImmGetDefaultIMEWnd|ui",Win.Handle("active"))
> > > > > 
> > > > > is it because this line is not for my OS version(XP SP3)?
> > > > >
> > > > 
> > > > It is probably that you don't have the dll plugin, which is available 
> > > > here: 
> > > > <http://tech.groups.yahoo.com/group/power-pro/files/Plug-ins_and_add-ons/DLLplugin1.03.zip>
> > > > 
> > > > Otherwise, what was the text of the error message?
> > > > 
> > > > Regards,
> > > > Sheri
> > > >
> > > 
> > > hi Sheri,
> > > 
> > > after i installed dll plugin, there is no errors in following code.
> > > ;;;;;;;;;;;;;;;;;;;;
> > > 
> > > hWIme=dll.call("imm32|ImmGetDefaultIMEWnd|ui",Win.Handle("active"))
> > > dwConv=Win.SendMessage(hWIme,0x283,1,0)
> > > 
> > > ; dwConv ^ 1 : toggle between Korean & English
> > > ; dwConv | 1 : turn Korean Mode on
> > > ; dwConv & ~1 : turn Korean off, i.e., English mode on
> > > 
> > > Win.SendMessage(hWIme,0x283,2,dwConv ^ 1)
> > > 
> > > ;;;;;;;;;;;;;;;;;;;;;
> > > 
> > > Thank you. under Korean Locale, i can change english <-> korean with this 
> > > script. work perfekt.
> > > 
> > > 
> > > BUT, there is still another problem.
> > > 
> > > maybe i should explain a little for this.
> > > 
> > > if someone use more than one locale; for example 
> > > German and Korean Locale.
> > > 
> > > than you can see under Korean Locale, you have choice to switch either 
> > > korean or english language.
> > > 
> > > but under German Locale, there is no such choice.
> > > 
> > > so.. there is something more to do.
> > > that is to change locale.
> > > 
> > > how can i change Locale with Powerpro?
> > >
> > 
> > Try setting some hotkeys in the Language Bar using Options,
> > Settings, Key Settings, (Select desired action), Change Key
> > Settings. Then (for example) you can use Powerpro *Keys to send
> > the key sequence. For example, you could set German to Left Alt,
> > Shift, 1 and Korean Left Alt, Shift, 2. Then on a Powerpro bar,
> > you could have buttons:
> > 
> > command: *Keys
> > parameters: {sinp}%+1
> > 
> > and another
> > 
> > command: *Keys
> > parameters: {sinp}%+2
> >
> 
> Actually it seems to need to be like this (with no parameters):
> 
> command: win.keys("{sinp}%+1")
> 
> and
> 
> command: win.keys(""{sinp}%+1")
> 
> I do not really use it, just recently got curious and decided to try adding 
> optional East Asian languages and language bar.
> 
> East Asian language support in XP, once added, is easily removed if anyone 
> was wondering.
> 
> Regards,
> Sheri
>

hi Sheri,

now is perfect for all!

thank you very much!!

so hier is the summery for others:

;;;;;;;;;to korean;;;;;;;;;;;;;;
local hWIme,dwConv
;change to korean locale first
;left alt + shift + 2 is for me the korean locale key combination 
win.keys("{sinp} %+2")

hWIme=dll.call("imm32|ImmGetDefaultIMEWnd|ui",Win.Handle("active"))
; WM_IME_CONTROL is 0x283
dwConv=Win.SendMessage(hWIme,0x283,1,0)

; dwConv ^ 1 : toggle between Korean & English
; dwConv | 1 : turn Korean Mode on
; dwConv & ~1 : turn Korean off, i.e., English mode on
Win.SendMessage(hWIme,0x283,2,dwConv | 1)

quit

;;;;;;;;;to german;;;;;;;;;;;;;;
;change to german locale
;left alt + shift + 1 is for me the german locale key combination 
win.keys("{sinp} %+1")


;;;;;;;;;;;;;



Reply via email to