RemoteObj "object type not supported"

Get help with using AutoHotkey (v1.1 and older) 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 (v1)”

Who is online

Users browsing this forum: Google [Bot], Panaku, Rohwedder, roysubs and 330 guests