This repository contains an AppleScript designed to restart Universal Control on macOS.
Universal Control is an incredibly useful feature, but it is prone to dropping out. This script provides a quick and easy way to restart it without needing to do it manually.
- Download the script file
restart-universal-control.scpthere. - Open it in Apple's Script Editor app
- File > Export to save it as an Application
- On first run, you will need to grant the app permission to control your computer. This is required to allow the app to restart Universal Control. You find this setting in
System Settings > Privacy & Security > Accessibilitythen toggle the app's name.
I'm finding it quickest to simply use Spotlight (cmd+space) to search and run the restart:
If you know a CLI-friendly way to do this, please suggest! I tried a few solutions on the web, but the method via System Settings seems to be the only reliable option.
Feel free to submit issues or pull requests if you have suggestions for improvements or encounter any bugs.
