IME ON/OFF features.
I'm using Perl on Japanese environment and also using this module on
it. In order to type Japanese strings, I'm trying to turn IME on and
then type jp string like nihon and then push space key, enter key,
and then turn IME off with Win32::API and some Win32 imm function
such as ImmGetContext... (However, it don't work out.)
Is this module planing to implement this feature, that is IME ON /
Below is sample code. (It doesn't work...)
$hIMC = $ImmGetContext->Call($wHnd);
my $fOpen = $ImmGetOpenStatus->Call($hIMC);
$nRes = $ImmSetOpenStatus->Call($hIMC, not $fOpen);
$nRes = $ImmReleaseContext->Call($xcwHnd, $hIMC);
--- In perlguitest@y..., tatsuya_kimura_jp@y... wrote:
> Is this module planing to implement this feature, that is IME ON /
> IME OFF?
I have not experience at all with IME and even if I somehow managed
to implement what you're asking for, I could imagine that I would
have a hard time verifying that it works (not having a japanese
machine, that is).
In other words: unless somebody contributes some code that does this,
I'd say the chances are small.
Sorry I can't be of more help,
> In other words: unless somebody contributes some code that doesthis,
> I'd say the chances are small.I changed my view about this question. I used Win32::Clipboard +
> Sorry I can't be of more help,
Win32::Guitest to type Japanese strings to target application.
That is, copy Jp string into Clipboard, and then focus by
Win32::GuiTest and then copy it. That's fine.
Thanks a lot.