C# Programming Help

Discussion in 'Programmer's Corner' started by KCHARROIS, Jun 5, 2014.

  1. KCHARROIS

    Thread Starter Member

    Jun 29, 2012
    292
    1
    Hello,

    I'll try and best describe what it is I'm trying to do and hopefully someone can help me program this in C#.

    So say I have program A and program B, program A cannot be modified or changed. Now in program B I'll have 4 different boxes containing text and a button called Generate. When I press generate it will automatically copy the text from box number 1 containing text. Now going back to program A, I paste the text from box number 1. So now what I'd like to do is while still in program A, when I press Shift on the keyboard, program B will skip to box number 2 and copy the text so that I can then paste it in program A and so forth for box 3 and 4.

    Is this doable? And how can I accomplish this?

    Thanks
     
  2. sirch2

    Well-Known Member

    Jan 21, 2013
    1,008
    351
  3. KCHARROIS

    Thread Starter Member

    Jun 29, 2012
    292
    1
    Thanks, the Keyboard hook is exactly what I was looking for.
     
Loading...