WEB开发网
开发学院服务器其它服务 AutoIt自动打开Outlook并输入邮箱密码 阅读

AutoIt自动打开Outlook并输入邮箱密码

 2012-05-15 09:58:29 来源:WEB开发网   
核心提示:Run(@ProgramFilesDir & "\Microsoft Office\Office12\OUTLOOK.EXE /recycle")WinWaitActive("Choose Profile")Send("{DOWN}{ENTER}")WinWa
Run(@ProgramFilesDir & "\Microsoft Office\Office12\OUTLOOK.EXE /recycle")
WinWaitActive("Choose Profile")
Send("{DOWN}{ENTER}")
WinWaitActive("Connect to servername.domain.company.com")
ControlSend("Connect to servername.domain.company.com", "", "[CLASS:Edit; INSTANCE:2]", "domain\username")
ControlSend("Connect to servername.domain.company.com", "", "[CLASS:Edit; INSTANCE:3]", "password{ENTER}")
WinWaitActive("Personal Folders Password")
ControlSend("Personal Folders Password", "", "[CLASS:Edit; INSTANCE:1]", "ArchivePassword{ENTER}")

Tags:AutoIt 自动 打开

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接