LazyBum Q
LazyBum Q

Reputation: 255

Is there a python function, that allows to move and resize windows?

I'm looking for a python module, that can move&resize windows(any windows,not just made with python). In C there is a win32 api function, called SetWindowPos(). Is there any alternative for python. *Web searches gave me nothing, but tk module resize function, which only works with its own(tk) windows.

Upvotes: 4

Views: 1401

Answers (1)

Jacobm001
Jacobm001

Reputation: 4539

There is! Based on your question, I'm assuming you're getting at something similar to the programming language, AHK. There is a python library, ahk which takes advantage of that language.

PyPi link: https://pypi.org/project/ahk/

Github link: https://github.com/spyoungtech/ahk

Upvotes: 3

Related Questions