Yep, of course this is possible.
you can achive this by using P/Invoke technologi in .NET environment.
So basically you must retreive a window handle (HWND) by it text (caption) and
mark this window as foreground with help of (WIN32 API):
[DllImport("user32")]
private static extern bool SetForegroundWindow(IntPtr hwnd);
[DllImport("user32.dll")]
private static extern IntPtr FindWindow(string lpClassName, string lpWindowName);
and then you might just send data like
SendKeys.SendWait("{TAB}");
SendKeys.SendWait("{TAB}");
SendKeys.SendWait("{ENTER}");
Or even more with help of
SendMessage(_hWnd, 0x100, (int) VKeys.VK_2, (int) VKeys.VK_2);
you can achive better result