如果需要处理中文,需要保存为有BOM的UTF8文件

;FileAppend, send Done %A_YYYY%-%A_MM%-%A_DD% %A_Hour%:%A_Min%:%A_Sec%.`n, wechatlog.txt
Run, https://www.wjx.cn/m/xxxx.aspx
Sleep 5000
Sleep 800
Send {PgDn}
Sleep 800
Click 170,372 ; 10.否 离开先
Sleep 800
Click 170,667 ; 提交
Sleep 800

IfWinNotActive "微信"
{

Send ^!x 

; FileAppend, send ctrl alt x.`n, C:UsersAdministratorDesktopwechatlog.txt
}

Sleep 2500
Send ^f
Sleep 1500
SendInput 1-19
Sleep 1500
Send {enter}
Sleep 1500
Send done. %A_YYYY%-%A_MM%-%A_DD% %A_Hour%:%A_Min%:%A_Sec% {enter}
Sleep 2000

Run, https://xxx.xxx/memo&msg

标签: none

添加新评论