title: SendKeys to a specific program without it being in focus
body: <p>I am trying to use sendkeys, but send it to a non focused program. For example, I want to use sendkeys to Notepad - Untitled, without it being focused. Sorry if it's unclear, I will elaborate. My current code is this: </p>
  
  <pre><code>        string txt = Regex.Replace(richTextBox3.Text, "[+^%~()]", "{$0}");
  
          System.Threading.Thread.Sleep(1000);
          SendKeys.Send(txt + "{ENTER}");
  </code></pre>
  
  <p>If I use SendMessage, would anyone care to show me an example of what I should do? I don't find anything I found online very useful for my issue.</p>