--- In [email protected], "pilcomuser" <pilcomu...@...> wrote:
>
> Hello, everyone
>
> i have dll Plugin ver 0.97
> i upload dll Plugin ver 1.03
> SendUnicode.PowerPro does not work
> Do you have any fix
>
Hi, pilcomuser
FWIW, If what you need is a way to send keystorke including Korean chars
properly, I'd like to recommend you to consider using the Unicode plugin
instead.
Unicode.Keys("ÇÑ±Û test")
> http://tech.groups.yahoo.com/group/power-pro/message/29993
>
> -------------------- SendUnicode.PowerPro -----------------------------
> local sString,wString,nSize
>
> sString=?"ÇÑ±Û test"
> nSize=dll.call("MultiByteToWideChar|ui ui s i s i",0,0;;+
> ,"sString",-1,"wString",0)
> dll.call("MultiByteToWideChar|ui ui s i s"++nSize*2++" i",0,0;;+
> ,"sString",-1,"wString",nSize)
> nSize--
>
> local ptr=dll.get_pointer("wString")
> local ki=dll.create_array(7*2*nSize,"i")
>
> for(local i=0;i<2*nSize;i++)
> ki[1+7*i]=1
> ki[3+7*i]=4+i%2*2
> dll.call("RtlMoveMemory|ui ui ui",ki.get_pointer(2+7*i)+2,ptr+i/2*2,2)
> endfor
>
> dll.call("SendInput|ui a* i",2*nSize,ki,28)
> quit
> -----------------------------------------------------------------------
>