Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Weigl WEM | ScriptNew to Visual Studio Code? Get it now.
Weigl WEM | Script

Weigl WEM | Script

Weigl Control LLC

|
657 installs
| (2) | Free
WEM | Script commands for use with Weigl Show Control Hardware
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Weigl WEM | Script

Edit Weigl show-control files in VS Code. Version 2.0 adds command completion, parameter hints, hover help, and diagnostics for control.ini.

Command suggestions

Open control.ini and type ! to see triggers. After the trigger, type a second ! to see actions and variable conditions. Pick a suggestion to insert the command with editable example values.

Typing a visitor-button trigger and accepting a looping show command in VS Code

Command suggestions and parameter hints are on by default. Set wemscript.useSnippets to false in VS Code Settings to turn them off.

Command reference and diagnostics

Hover over a command to see its syntax and an example. VS Code reports issues such as missing triggers, missing # terminators, invalid IP addresses and ports, and timer values outside their allowed range.

Hover help showing the syntax and an example for the CAN motor minimum position command

The VS Code Problems panel showing invalid timer seconds and a missing command terminator

Formatting on save

Saving control.ini moves trailing comments above their commands.

Saving control.ini moves two trailing comments onto separate lines above their commands

Device targets

Add a device alias near the top of control.ini to get a completion such as nsdVIDEO. After editing the alias, the next completion inserts the new address. To update existing commands, place the cursor on an address and run WemScript: Change Target Under Cursor. Pick the alias, then choose Current target or All matching targets.

// HARDWARE: HX
// DEVICE VIDEO@192.0.2.20:5236

Editing the VIDEO alias, inserting its new address, and updating existing commands with All matching targets

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft