Author Topic: DxInput.Type, InputKeysTextEntry, SendKeys with Russian letters  (Read 1695 times)

0 Members and 1 Guest are viewing this topic.

Aniv_D

  • Jr. Member
  • **
  • Posts: 42
  • Karma: 10
    • View Profile
DxInput.Type, InputKeysTextEntry, SendKeys with Russian letters
« on: February 16, 2019, 12:31:21 AM »
Hello
can fix it or continue to use the SendKeys action?
Thanks!

upd: remembered about UTF-8 encoding in txt file, but did not help.
« Last Edit: February 16, 2019, 08:08:00 AM by Aniv_D »

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: DxInput.Type, InputKeysTextEntry, SendKeys with Russian letters
« Reply #1 on: February 16, 2019, 08:53:27 AM »
Continue using SendKeys if it works.

I am 99.9% sure that it is not possible using DirectX.

It might be possible to modify InputKeys to make this possible, but I'm not sure. It would probably be a large amount of work and it is not a priority for me.

Another possible method, which might be useful depending on your situation is to use the clipboard to paste text.

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.4.3-->
<command id="293" name="введите что-либо" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>System.SetClipboardText</cmdType>
    <params>
      <param>Мой план идет в соответствии с планом.</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>InputKeys.Send</cmdType>
    <params>
      <param>{CONTROL}({v})</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>введите что-либо</phrase>
</command>

Aniv_D

  • Jr. Member
  • **
  • Posts: 42
  • Karma: 10
    • View Profile
Re: DxInput.Type, InputKeysTextEntry, SendKeys with Russian letters
« Reply #2 on: February 16, 2019, 12:21:00 PM »
OK, thanks jitterjames