public bool start(ScriptScopeContext scope, string cmd) => scope.DoWindow(w => NativeWin.Open(cmd));
public bool openUrl(ScriptScopeContext scope, string url) => scope.DoWindow(w => NativeWin.Open(new Uri(resolveUrl(scope, url)).ToString()));