Skip to main content
Loop supports a URL scheme for window management automation. This allows you to control Loop from scripts, shortcuts, and other applications.

URL Format

All Loop URL commands follow this format:

Available Commands

Window Direction Commands

Move windows to specific positions on the screen. Format: loop://direction/<direction> Example:

Screen Management

Move windows between displays. Format: loop://screen/<command> Example:

Action Commands

Execute window actions. Format: loop://action/<action>
Use loop://list/actions to see all available actions in your Loop configuration.
Example:

Keybind Commands

Trigger custom keybinds by name. Format: loop://keybind/<name> Example:
Use loop://list/keybinds to see all available custom keybinds.

List Commands

Discover available commands and configurations. Format: loop://list/<type> Example:

Usage Tips

All commands are case-insensitive. Both loop://direction/LEFT and loop://direction/left work.
Parameters with spaces must be URL encoded. Use %20 for spaces.
Window commands operate on the frontmost non-terminal window.
Use list commands to discover available options in your configuration.

Error Handling

Loop provides helpful feedback for invalid commands:

Next Steps

AppleScript Integration

Control Loop with AppleScript

Scripting Examples

Real-world automation workflows