Saves, restores window position in Mac
- Compile and start the app
- Allow the app to control accessibility features
- To put those windows in the config file back to pre-defined location and size, left-click on the
❖icon in the status bar - To open up the UI, right-click on the icon.
Process Name: The name of the process, can be found on the top-left corner of the screen, next to the Apple logo.- Can edit by clicking
Window Name: Thw window name of the process, if you want to lock in a specific window- The default is nothing, which means you can get any window
- Can edit by clicking
x,y,Width,Height: The window property- Can be read by performing these steps:
- Highlight the row (can highlight multiple)
- Hit the
Locatebutton
- Can edit by clicking on the number
- Can be read by performing these steps:
Index: The index of the window, in case there are multiple of the same name- If
Window Nameis not specified, the index is in the range of all opened windows ofProcess Name - If
Window Nameis specified, the index is in the range of all windows of thatProcess Namewith the exact same name in the window title. For example, there are 2 windows opened forFinder,DownloadsandApplications, then specifyingDownloadsas theWindow Nameand 1 as theIndexis invalid. - Can be edited by clicking
- If
Status: Indiates whether the window listed encountered error or not- Green: This window configuration can be found and has been linked, no problem so far
- Red: This window has not been found (or first started), or there was an error locating/setting this window. Hover over the red dot to see the error message
Add: Add a window config and begin editing theProcess NameRemove: Remove the highlighted rowsSave: Save the current config to ajsonfile. If the file is successfully saved, the program will launch with the last saved file as the config.Open: Open ajsonconfig file, if successfully read, replace the current config with it and the program will launch with the last opened file as the config.Locate: Locate the window location and size of highlighted rows and updates them in the UI. If there was an error locating them, theStatuscolumn will turn red and error message will be in the tooltip of the red dot (hover). If they are located (green status), the updated information will be stored and used in the nextApplyApply: Apply the selected rows to their respective window. If there was an error applying, theStatuscolumn will turn red and error message can be found hovering the red dot