有什么方法可以将Autohotkey转换为Apple Script?

问题描述

这是我的代码

        it("should login an existing user and return a token",(done) => {
            let user = new User({
            username: "userTest112",firstName: "User",lastName: "Test",email: "[email protected]",password: "password",userType: "participant",job: {
                employStatus: "employed",studentStatus: false
            }
            })
            user.save(() => {
                chai.request(server)
                .post("api/auth/login")
                .send ({
                    email: "[email protected]",password: "password"
                })
                .end((err,res) => {
                    console.log(err);
                    res.should.have.status(200);
                    res.body.should.be.a("object");
                    res.body.token.should.not.be.empty;
                    done();

                })
            })
        })
    }) ```
Error: connect ECONNREFUSED 127.0.0.1:80
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1129:14) {
  errno: 'ECONNREFUSED',code: 'ECONNREFUSED',syscall: 'connect',address: '127.0.0.1',port: 80,response: undefined
}

按f2时,应使鼠标在两个不同的窗口上单击。

Apple Script似乎相当复杂,是否有任何转换器可以在Mac上运行热键脚本?

或者有人对此有简单的解决方案吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)