DockLock Plus URL Scheme

Updated February 20, 2026

DockLock Plus URL Scheme & CLI Reference

DockLock Plus exposes a custom URL scheme (DockLockPlus://) that lets you control every core feature—from locking/unlocking the Dock to moving it between screens—via URLs you can call from a browser, another app, or the command line. Installation via the App Store handles URL scheme registration automatically; no user action is required.

1. URL Format

DockLockPlus://<command>[?<param1>=<value1>&<param2>=<value2>]

Tip: Coordinates use a top-left origin of the main display (x grows rightwards, y grows downwards).


2. Supported Commands

URL HostDescriptionQuery parameters
enableDockLockTurn on DockLock enginenone
disableDockLockTurn off DockLock enginenone
enableDockFollowsMouseEnable “Dock follows mouse” modenone
disableDockFollowsMouseDisable “Dock follows mouse” modenone
quitQuit the DockLock Plus applicationnone
moveDockUpMove the Dock one screen upnone
moveDockDownMove the Dock one screen downnone
moveDockLeftMove the Dock one screen leftnone
moveDockRightMove the Dock one screen rightnone
moveToDisplayMove the Dock to a specific displayname=… or x=…&y=…
enableDockLockOnDisplayEnable DockLock only on the given displayname=… or x=…&y=…
disableDockLockOnDisplayDisable DockLock only on the given displayname=… or x=…&y=…

Warning:

  • If two displays share the same name, prefer the x/y coordinate variant.
  • Coordinates outside any display are ignored.

3. Examples

3.1 Simple on/off

# Enable DockLock
open "DockLockPlus://enableDockLock"

# Disable Dock follows-mouse
open "DockLockPlus://disableDockFollowsMouse"

3.2 Moving the Dock one screen over

# Move dock to the monitor above
open "DockLockPlus://moveDockUp"

3.3 Move to a named display

# Move to display named "Studio"
open "DockLockPlus://moveToDisplay?name=Studio"

3.4 Move to display by coordinate

# Move to whichever display contains point (1920, 200)
open "DockLockPlus://moveToDisplay?x=1920&y=200"

3.5 Lock/Unlock on a specific screen

# Enable DockLock only on "Studio"
open "DockLockPlus://enableDockLockOnDisplay?name=Studio"

# Disable DockLock on display at (0,0)
open "DockLockPlus://disableDockLockOnDisplay?x=0&y=0"

3.6 Quit the app

open "DockLockPlus://quit"

4. Invoking from the Command Line

macOS’s open command will dispatch the URL to your running app (or launch it if needed):

open "DockLockPlus://disableDockLock"

You can wrap these in shell scripts, Automator workflows, or any other launcher.


5. Notes & Best Practices


🚀 Ready to script your Dock? Combine this URL scheme with shell aliases, Automator Quick Actions, or your favorite launcher for instant control!


Homepage | FAQ | Support