How can I minimize/maximize windows in macOS from a Python script?
up vote
0
down vote
favorite
How can I minimize/maximize windows in macOS from a Python script? On Windows, there's a win32 api (the ShowWindow()
functon) that can do this. I'd like the macOS equivalent. I'd like to have a script be able to find a window from its title, then minimize or maximize it.
Is this possible? I assume I need to use pyobjc for this.
python macos pyobjc
add a comment |
up vote
0
down vote
favorite
How can I minimize/maximize windows in macOS from a Python script? On Windows, there's a win32 api (the ShowWindow()
functon) that can do this. I'd like the macOS equivalent. I'd like to have a script be able to find a window from its title, then minimize or maximize it.
Is this possible? I assume I need to use pyobjc for this.
python macos pyobjc
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
How can I minimize/maximize windows in macOS from a Python script? On Windows, there's a win32 api (the ShowWindow()
functon) that can do this. I'd like the macOS equivalent. I'd like to have a script be able to find a window from its title, then minimize or maximize it.
Is this possible? I assume I need to use pyobjc for this.
python macos pyobjc
How can I minimize/maximize windows in macOS from a Python script? On Windows, there's a win32 api (the ShowWindow()
functon) that can do this. I'd like the macOS equivalent. I'd like to have a script be able to find a window from its title, then minimize or maximize it.
Is this possible? I assume I need to use pyobjc for this.
python macos pyobjc
python macos pyobjc
asked yesterday
Al Sweigart
4,25222944
4,25222944
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53237266%2fhow-can-i-minimize-maximize-windows-in-macos-from-a-python-script%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password