--- In [email protected], "kottami" <[EMAIL PROTECTED]> wrote:
>
> --- In [email protected], "swzoh" <seanzoh@> wrote:
> > -------------------------------------------------------------------
> > local hWIme=dll.call("imm32|ImmGetDefaultIMEWnd|ui",;;+
> > Win.Handle("active"))
> > hWIme.SendMessage(0x283,2,hWIme.SendMessage(0x283,1,0) ^ 1)
> > quit
> > -------------------------------------------------------------------
>
> BTW..
> For example..
>
> win.keys("thank you")
> in englisth mode
> "thank you"
> but, korean mode
> "¼Ò¹«¤¿ ¤Ë¤À¤Å"
>
> So,
>
> if (Enlishi_mode = 1 ) do
> win.keys("thank you")
> endif
Try this:
-----------------------------------------------------------------------
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.SendKeys("thank you")
Win.SendMessage(hWIme,0x283,2,dwConv)
quit
-----------------------------------------------------------------------
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/