Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The flag, pui["alert pccommand errors"], can be set to false to prevent alerts from appearing when a program on the server attempts to call STRPCCMD and no Listener or Launcher is setup on the user's PC.

By default the flag is not set (undefined), and alerts appear for each call to STRPCCMD that fail when the configuration option, pui["pc command mode"], is undefined, "launcher", or "launcher_m2". Alerts appear as shown in this image:

Image Added

Setting this flag to false causes error messages to appear in the browser console instead of in an alert., like shown below:

Image Added

Code Block
languagejs
titleExample Configuration
pui["alert pccommand errors"] = false;

...