title: Launching Chrome Extension from an External C# Program
body: <p>I'm trying to start a chrome extension from an external c# program. </p>
  
  <p>What I have so far:</p>
  
  <p>The extension is complete and launches when the extension button is clicked.
  The program searches for available chrome browsers via Process.GetProcessesByName.
  Once its done it searches for the chrome extension button with the Ui-Automation dll.</p>
  
  <p>I was able to drill down and find the button, but it doesn't have an Invoke pattern, or any patterns for that matter even though the control type is a button.</p>
  
  <p>Goal:</p>
  
  <p>I'm letting the user bind a hotkey to use as their mediakey instead of pressing fn+MediaKey.
  I would also like the program to affect youtube videos, which the javascript in the extension handles. It pauses any playing videos, and plays any paused videos. I figured writing an extension and invoking a click would do it, but none of the chrome toolbar buttons seem to respond to Invoke actions.</p>
  
  <p>I'd appreciate any help in pointing me in the right direction.</p>