Set oShell = CreateObject("WScript.Shell") WScript.Sleep 500 oShell.SendKeys "%{ESCAPE}" oShell.SendKeys "public static void main{(}string args{[}{]}{)}"