These scripting functions are only available in the gateway scope. You'll have to trigger them from the Gateway somewhere, or add a message handler that you use system.util.sendMessage
with from the Client, or use something like @pturmel's free toolkit module that has a handy @runInGateway
decorator.
1 Like