autoit运行程序 autorun.au3
If Not WinExists("CRozzy") Then
Run("E:\C++\CRozzy\Release\CRozzy.exe")
WinWaitActive("CRozzy")
Send("!{F4}")
EndIf
If Not WinExists("[CLASS:NOTES]") Then
ShellExecute("D:\Program Files\rozzy.nsf", 0)
WinWaitActive("Lotus Notes", "输入口令")
Send("pwd{ENTER}")
EndIf
If Not ProcessExists("email.exe") Then
Run("E:\C++\email.exe")
EndIf
ShellExecute("D:\Program Files\202bss.bat", 0)