Windows Service
Starts, stops or restarts a Windows service (as Services or Task Manager does) and waits until it's done. Most services need administrator rights: then MacroWin asks through Work with admin windows' helper (Settings > General), which asks you once.
In the editor, press Space on the canvas to add a step, then open Actions > System, or type its name. In Simple mode it's under Show all, and search finds it.
Settings
Service
Text RequiredIts name or its display name, e.g. Spooler or Print Spooler.
Action
A choiceWait until it's done
On or offTime limit (ms)
A duration More optionsHow long to wait for it to be running or stopped.
Where it continues
- Out: Continues here when it's done.
- Failed: Continues here when it fails; the reason is in the run log.
Outputs
Values the step gives to the steps after it. In the Graph view, drag a wire from an output to another step's field.
| Output | Gives | What it is |
|---|---|---|
| State | Text | running, stopped, starting, stopping or paused, afterwards. |
| Error | Text | Why it failed; empty when it worked. |
More in System
- Bluetooth
- CPU & Memory
- Delete Registry
- Display Settings
- Do Not Disturb
- Eject Drive
- Empty Recycle Bin
- Find Event Log Entry
- Format Drive
- Idle Time
- Keep PC Awake
- Monitor Control
- Night Light
- Open Windows Settings
- Power
- Power Mode
- Power Mode Is
- Projection Mode
- Read Registry
- Scheduled Task
- Set Brightness
- Set Theme
- Set Wallpaper
- Start Screen Saver
- Wi-Fi
- Write Event Log
- Write Registry