Window Resizer

App2025-05-01
Window Resizer

A simple macOS menu bar utility to quickly resize the active window to your predefined dimensions.

MacWailsGolangAppleScript

A simple macOS menu bar utility to quickly resize the active window to your predefined dimensions.

WindowResizer Tray Menu The menu bar interface for quick resizing.

WindowResizer Preferences Manage your custom window size presets easily.

✨ Features

  • Menu Bar Access: Lives in your macOS menu bar for easy access.
  • Active Window Resizing: Instantly resizes the currently active window.
  • Custom Presets: Define your own preferred window dimensions (width x height).
  • Simple Management: Add, edit, and delete presets through an intuitive preferences window.

🚀 Installation

  1. Go to the Releases page.
  2. Download the latest .dmg file (e.g., WindowResizer-_version_.dmg).
  3. Open the .dmg file.
  4. Drag WindowResizer.app to your /Applications folder.
  5. Launch the app from your Applications folder. You might need to grant accessibility permissions if prompted (required for resizing other application windows).

⚙️ How to Use

  1. Launch the Application: Start WindowResizer. Its icon will appear in your menu bar.
  2. Resize a Window:
    • Make sure the window you want to resize is the active (frontmost) window.
    • Click the application icon in the menu bar.
    • Select one of your predefined "Resize to WxH" options (e.g., "Resize to 1280x800").
    • The active window will instantly snap to that size.
  3. Manage Presets:
    • Click the application icon in the menu bar.
    • Select "Preferences".
    • In the "Window Size Presets" window:
      • Click + Add Preset to create a new size definition. Enter the desired Width and Height (in pixels) and save.
      • Click the pencil icon (✎) next to a preset to edit its dimensions.
      • Click the trash can icon (🗑️) next to a preset to delete it.
    • Changes are reflected immediately in the menu bar list.
  4. Quit:
    • Click the application icon in the menu bar.
    • Select "Quit".

🛠️ Built With

  • Electron: For creating the cross-platform desktop application shell.
  • React: For the Preferences UI.
  • Node.js: For the underlying runtime.

🤝 Contributing

Contributions are welcome! If you have suggestions or find bugs, please open an issue on the GitHub Issues page. If you'd like to contribute code, please fork the repository and submit a pull request.

📄 License

This project is licensed under the GPL-3.0 License.