public static void SendText(string command) { string str = command; int index = 0; int length = str.Length; while (index < length) { Native.SendChar(str[index]); checked { ++index; } } }
public static void RunCommand(string command) { Native.SendText(command); Native.SendChar('\r'); }
public static void SendTab() { Native.SendChar('\t'); }