{"id":22724506,"url":"https://github.com/binghuan/prevent_maximizer","last_synced_at":"2025-03-29T23:18:13.621Z","repository":{"id":209185823,"uuid":"723429859","full_name":"binghuan/Prevent_Maximizer","owner":"binghuan","description":"A macOS utility to prevent apps from hijacking the screen into full-screen mode, ensuring uninterrupted multitasking for users.","archived":false,"fork":false,"pushed_at":"2023-11-26T19:31:45.000Z","size":3727,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T00:42:48.063Z","etag":null,"topics":["applescript","macos"],"latest_commit_sha":null,"homepage":"https://studiobinghuan.blogspot.com/2023/11/prevent-maximizer.html?view=sidebar","language":"AppleScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/binghuan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-11-25T16:34:57.000Z","updated_at":"2024-12-30T00:37:23.000Z","dependencies_parsed_at":"2023-12-19T01:52:53.510Z","dependency_job_id":"d4937e13-0252-4346-a1e0-1a50f237dacf","html_url":"https://github.com/binghuan/Prevent_Maximizer","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":"0.19999999999999996","last_synced_commit":"656665279e346eb00c723c6d0bdd2c5546000b8b"},"previous_names":["binghuan/prevent_maximizer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binghuan%2FPrevent_Maximizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binghuan%2FPrevent_Maximizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binghuan%2FPrevent_Maximizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binghuan%2FPrevent_Maximizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binghuan","download_url":"https://codeload.github.com/binghuan/Prevent_Maximizer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246254149,"owners_count":20747949,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["applescript","macos"],"created_at":"2024-12-10T15:06:56.559Z","updated_at":"2025-03-29T23:18:13.603Z","avatar_url":"https://github.com/binghuan.png","language":"AppleScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](icon.png)  \n# Prevent Maximizer\n- [Prevent Maximizer](#prevent-maximizer)\n  - [Features](#features)\n  - [How it Works](#how-it-works)\n  - [Usage](#usage)\n  - [Converting AppleScript to an Application](#converting-applescript-to-an-application)\n  - [Adding an Icon to Your App](#adding-an-icon-to-your-app)\n  - [Launching the Application on Startup](#launching-the-application-on-startup)\n  - [System Requirements](#system-requirements)\n  - [Control flow](#control-flow)\n  - [Demo](#demo)\n\nThis utility for macOS is designed to address an often-overlooked issue where some applications may unpredictably enter full-screen mode, interrupting the user's workflow, especially when working with split-screen setups. This tool aims to mitigate unintended app behaviors by restoring the app back from full-screen to its original state, maintaining the user's workflow continuity.\n\n## Features\n- **Automatic Detection:** Monitors applications entering full-screen mode without user initiation.\n- **Non-Disruptive:** Operates in the background, providing a seamless experience without interrupting the user's current tasks.\n- **Quick Restore:** Reverts apps back from full-screen to windowed mode, allowing users to continue their work without manual adjustments.\n\n## How it Works\n`PreventMaximizer` runs discreetly in the background. When it detects an application has entered full-screen mode without user consent, it automatically triggers a command to exit the full-screen mode, effectively \"preventing\" the application from \"maximizing\" and taking over the entire screen.\n\n## Usage\n1. Double-click the file \"PreventMaximizer.applescript\".\n2. Modify the application name in the script to the one you want to monitor. \n   ```applescript\n   set appName to \"Wea\"\n3. Convert AppleScript to an Application.\n4. Move PreventMaximizer.app to your Applications folder.\n5. Launch the application.\n6. Allow the app to control your computer by granting Accessibility permissions.\n![](./README/allow_the_app_to_control_your_computer.png)\n\n\n## Converting AppleScript to an Application\nFollow these steps to convert your script into a standalone application:\n![](./README/convert_applescript_to_app.png)\n\n\n## Adding an Icon to Your App\nPersonalize your application by adding a custom icon:\n![](./README/add_icon_to_your_app.png)\n\n## Launching the Application on Startup\nTo have PreventMaximizer automatically start when you log in:\n![](./README/launch_app_on_startup.png)\n\n## System Requirements\nmacOS version 10.14 (Mojave) or later.\n\n## Control flow \n![](./README/control_flow.png)\n\n## Demo \n![](./README/demo.gif)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinghuan%2Fprevent_maximizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinghuan%2Fprevent_maximizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinghuan%2Fprevent_maximizer/lists"}