Aerosnap for Mac OS X using python, bash, applescript, and the mouse
This python script adds AeroSnap functionality to macOS Mojave using python3, bash, applescript, and swift. Unlike most macOS AeroSnap scripts, though, it uses the mouse when docking windows to the left, right, top, or bottom of the screen.
At the moment, MacAeroSnap must be launched manually.
git clone https://github.com/callaginn/MacAeroSnap ~/bin/MacAeroSnap; ln -sf $_/macsnap.py ~/bin;
echo 'PATH="$PATH:$HOME/bin"' >> ~/.bash_profile; . ~/.bash_profile;
Type macsnap.py
into the macOS Terminal and press enter. For debugging info, pass an additional verbose flag to the script: macsnap.py -v
. You can stop MacAeroSnap at any time by closing the Terminal.