void SendString(string s) { var teraWindow = FocusManager.FindTeraWindow(); if (teraWindow == IntPtr.Zero) { return; } PasteString(teraWindow, s); }