Instantly toggle between your two most recently used windows on macOS.
No screen recording permission required. Accessibility only.
- macOS 13 (Ventura) or later
- Swift Command Line Tools (for building from source only)
Download the DMG from:
https://teaz.me/assets/windowtoggle/WindowToggle-v1.2.dmg
Open the DMG and drag WindowToggle.app to your Applications folder, then launch it.
Because WindowToggle is free and distributed outside the Mac App Store, macOS will show a security warning on first launch. Open Terminal and run this once:
xattr -dr com.apple.quarantine /Applications/WindowToggle.app
Then launch the app. Grant Accessibility permission when prompted:
System Settings > Privacy & Security > Accessibility > enable WindowToggle
- Default shortcut: Ctrl+W
- Change it anytime: menu bar icon > Preferences
- Enable launch at login: Preferences > Start at login checkbox
- Check for updates: menu bar icon > Check for Updates
Uses the macOS Accessibility API to track the last two focused windows. Press the shortcut to jump back to the previous one instantly. No screen recording. Nothing leaves your machine.
git clone https://github.com/teaneedz/windowtoggle.git cd windowtoggle chmod +x build.sh ./build.sh cp -r WindowToggle.app /Applications/ open /Applications/WindowToggle.app
cd ~/Code/WindowToggle ./update.sh
cd ~/Code/WindowToggle chmod +x uninstall.sh ./uninstall.sh
Then remove from System Settings > Privacy & Security > Accessibility.
MIT