RemoteObj "object type not supported"

Get help with using AutoHotkey and its commands and hotkeys
sinbad
Posts: 40
Joined: 01 Mar 2018, 09:32

RemoteObj "object type not supported"

15 Jul 2019, 09:12

Is it possible to use RemoteObj with a sub-class like this?

Code: Select all

ObjToPublish := new Main()
Server := new RemoteObj(ObjToPublish, [Bind_Addr,Bind_Port])

class Main {

    class Session {
    
        __New(account) {
            this.account := account
            this.url := getURL()
            this.chrome := chromeProfilePath(account)
        }
    }
}
I try calling it with

Code: Select all

Remote := new RemoteObjClient([serverAddr, serverPort])
session := new Remote.Session("123456")
But it throws error "object type not supported"

Return to “Ask For Help”

Who is online

Users browsing this forum: Google [Bot], jacek678, Xeo786, zvit and 47 guests