前提,已有登陸過的帳號,且沒有設置爲自動登陸app
tell application "QQ"spa
activatecode
tell application "System Events"blog
tell application process "QQ"it
activateio
set frontmost to trueclass
key code {48, 51}登錄
keystroke "QQ1號碼"command
delay 1密碼
keystroke return
delay 1
keystroke "QQ1密碼"
keystroke return
delay 1
delay 1
keystroke "n" using command down
delay 1
key code {48, 51}
keystroke "QQ2號碼"
delay 1
keystroke return
delay 1
keystroke "QQ2密碼"
delay 1
keystroke return
delay 1
end tell
end tell
end tell