← All help topics

Versions for each system

A program or script often differs between Mac, Windows and Linux. A tool can have one version per system, and SolutionMCP uses the one for the computer it runs on.

In the tool editor

Under What it runs, each version has a choice of system: Every system, macOS, Windows, Linux, or macOS and Linux. Click Add a version for another system to add one, and Remove to take one away.

SolutionMCP picks the version for this exact system first, then macOS and Linux, then Every system. A tool with no version for a computer simply isn't offered there.

Example

A tool that locks the screen:

SystemRuns
macOSpmset displaysleepnow
Windowsrundll32.exe user32.dll,LockWorkStation
Linuxloginctl lock-session

Tip: Make a tool on one computer, and copy its pack file to your others. Each computer uses its own version.

See Writing packs by hand for how versions look in a pack file.