An App Rule tells Zoneity to automatically place a particular application in a particular zone. Set a rule once and the application lands in the right place every time it opens.
Each App Rule has three parts:
chrome.exe or code.exe. Matching ignores uppercase and lowercase differences, and you can use a wildcard (*) to match part of a name. Type the program name, with or without .exe (for example notepad or notepad.exe), or use a wildcard such as notepad*.Each rule has a numeric priority. When more than one rule could match the same window, the rule with the higher priority number wins — Zoneity sorts all enabled rules from highest priority to lowest and applies the first one that matches. If two rules share the same priority, the one listed first is used.
To make a rule take precedence, give it a higher priority number. The Move up and Move down controls do exactly this: moving a rule up raises its priority number, moving it down lowers it. So the most specific rules should carry the highest priority.
Zoneity also warns you when a rule is shadowed — that is, when a higher-priority rule already matches everything the lower one would, so the lower rule can never fire. Raise the shadowed rule's priority (or make it more specific) to fix this.
Every rule can be turned on or off individually. Disable a rule when you want to keep it for later without it taking effect right now. There is no need to delete a rule just to pause it. Disabled rules are skipped entirely — only enabled rules take part in priority matching.
Once you have more than a handful of rules, the list controls help you find the one you want:
These controls only change how the list is displayed — they never change how the engine matches windows, which always follows priority order.
You can select multiple rules using their checkboxes (or select every rule in view) and then act on all of them together:
You can also duplicate a single rule as a starting point for a similar one — handy when a new rule differs only slightly from an existing one.
Before you rely on a rule, use Test against open windows to check it against the applications you actually have running. Zoneity lists your current windows and shows which of them the rule would match and where it would place them. This lets you confirm a rule behaves the way you expect without waiting for the window to open on its own.
A rule can include an optional monitor choice. By default a rule places the window into a zone on whichever monitor makes sense; adding a monitor override forces the window onto a specific display. See the multi-monitor workflow.
App Rules are applied by the enforcement engine. Make sure enforcement is on — if it is off, rules will not move windows. Changes you make to rules are sent to the engine immediately, so you do not need to restart Zoneity.