תשובה Text replacement software and Citrix

  • שבת 14 אפריל 2012 22:05
     
      קוד כלול

    I'm building an text replacement application,

    it works fine until:

    on my work we use Citrix XenAPP and still that's alright

    because when I enter the shortkey, the text from the string is typed with sendkeys.send()

    but the shortkey isn't ereased before typing
    I use sendkeys.send({backspace})

    well I figured out that XenApp wont react on all the buttons like delete and backspace...

    I tried some things like this.. http://inputsimulator.codeplex.com/

    but not with success outside the application it works fine until inside XenApp

    I Hope you can help me,

    with Thanks in Advance,
    Arjan Kuijpers

      private void check_typed()
            {
    
                if (System.Text.RegularExpressions.Regex.IsMatch(keybuffer,ckName.Default.name1, System.Text.RegularExpressions.RegexOptions.IgnoreCase))
                {
    
                    nameLength1 = ckName.Default.name1.Length;
                    while (nameLength1 >= 1)
                    {
                     //   SendKeys.Send("{BACKSPACE}");
                        InputSimulator.SimulateKeyPress(VirtualKeyCode.BACK);
    
    
                        nameLength1--;

כל התגובות