public static void SendKeys(this UIAutomationFacade facade, string windowName, int timeout, params string[] keys) { SendKeys action = new SendKeys(); action.WindowName = windowName; action.Keys = keys; action.Timeout = timeout; action.Execute(action); }
public static void SendKeys(this UIAutomationFacade facade, int processId, int timeout, params string[] keys) { SendKeys action = new SendKeys(); action.ProcessId = processId; action.Keys = keys; action.Timeout = timeout; action.Execute(action); }