极有可能遇到的问题
解决方法
脚本代码
tell application "QQ"
activate
tell application "System Events"
tell application process "QQ"
activate
set frontmost to true
key code {
48, 51}
keystroke "QQ账号"
delay 1
keystroke return
delay 1
keystroke "QQ密码"
keystroke return
end tellQQaa
end tell
end tell