--- In [email protected], "kottami" <[EMAIL PROTECTED]> wrote:
> I try to
> --------------------
> local hWIme,dwConv
> 
> hWIme=dll.call("imm32|ImmGetDefaultIMEWnd|ui",Win.Handle("active"))
> dwConv=Win.SendMessage(hWIme,0x283,1,0)
> 
> Win.SendMessage(hWIme,0x283,2,dwConv & ~1)
> Win.Keys("thank you")
> ;Win.SendMessage(hWIme,0x283,2,dwConv)
> quit
> --------------------

dwConv ^ 1 : toggle between Korean & English
dwConv | 1 : turn Korean Mode on
dwConv & ~1 : turn Korean off, i.e., English mode on

> I don't know what differnet..

It returns back to the original state at start up of the script. If
it's fine to stay at English mode, then you can omit it.

> what i want is Variable indicated Korean or English.

It's
dwConv & 1

0 if English, 1 if Korean.

Sean





Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to