DockLock Plus Automation
Updated November 17, 2026
DockLock Plus can keep the Dock on your presentation display while Keynote is running, move it from Apple Shortcuts, or report its location to a shell script. App Rules, Apple Shortcuts integration and the CLI are included in Plus and are not available in DockLock Lite, even with a subscription.
Terminal and shell scripts
Open the DockLock Plus CLI guide for commands to move the Dock, set up App Rules and read status as JSON. The CLI is built into the app. To list your displays, run this in Terminal.
"/Applications/DockLock Plus.app/Contents/MacOS/DockLock Plus" display list
App Rules
Use Settings, App Rules to move the Dock to an app’s display, hide it, change its size or choose Left, Bottom or Right orientation. Rules can apply while an app is running, while its window is active, or while its window is on the Dock’s display. For example, hide the Dock while Zoom is running and restore the previous settings when it quits. App Rules do not need Screen Recording permission.
Use a rule for any active app to have the Dock follow the active window, or choose the separate Dock Follows Mouse mode. Read the App Rules guide.
Apple Shortcuts and URL Scheme
Create Shortcuts workflows to invoke DockLock Plus intents, assign hotkeys, and trigger actions with Siri. You can also send custom docklockplus:// URLs from scripts, browsers, launchers, and other apps.
Apple Shortcuts guide
URL Scheme guide
Third-Party Integrations
This is a DockLock Plus Raycast Extension, allowing you to control DockLock Plus directly from Raycast's command bar.
Permissions
Core Dock locking needs no extra permission. Automatic and requested moves require “Device Control and Data Access” on macOS 27 or later, called “Accessibility” on earlier versions. Size, orientation and hiding use the included Dock Control Script and System Events permission. Follow the setup guidance in DockLock.
