• 原创:Mac AppleScript 自动登录两个QQ


    前提,已有登录过的账号,且没有设置为自动登录

    tell application "QQ"

    activate

    tell application "System Events"

    tell application process "QQ"

    activate

    set frontmost to true

    key code {48, 51}

    keystroke "QQ1号码"

    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

  • 相关阅读:
    PAT-1020 Tree Traversals
    PAT- 1014 Waiting in Line
    Python稀疏矩阵运算
    阿里云Hadoop集群DataNode连接不上NameNode
    运行python “没有那个文件或目录3” 或 “/usr/local/bin/python3^M: bad interpreter: 没有那个文件或目录” 错误
    #!/usr/bin/python3 和 #!/usr/bin/env python3的区别
    VBoxManage安装
    Redhat终端中文乱码解决
    Redhat更换yum源
    Redhat乱码
  • 原文地址:https://www.cnblogs.com/songxing10000/p/6671254.html
Copyright © 2020-2023  润新知