Skip to content

This Python script allows you to make a specified window always on top using the `pygetwindow` and `pywin32` libraries.

Notifications You must be signed in to change notification settings

DlgshKurd/StayOnTop-Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

StayOnTop Script

This Python script empowers you to toggle the "always on top" state of a specified window.

Usage

StayOnTop Demo

Option 1: Run the Executable (Windows Only)

  1. Visit the Releases section of this repository.
  2. Download the latest release.
  3. Extract the downloaded ZIP file.
  4. Execute the StayOnTop.exe executable.
  5. Switch to the desired window and wait for 3 seconds.
  6. If the executable closes, congratulations, it worked (:

Option 2: Run the Script (Windows)

  1. Clone the repository to your local machine:

    git clone https://github.com/DelgshSeli/StayOnTop-Script.git
  2. Navigate to the project directory:

    cd StayOnTop-Script
  3. (Optional) Create and activate a virtual environment:

    python -m venv venv
    .\venv\Scripts\activate 
  4. Install dependencies:

    pip install -r requirements.txt
  5. Run the script:

    python StayOnTop.py
  6. Switch to the window you want to stay "always on top" and wait 3 seconds.

  7. If the script ends, congratulations, it worked (:

Issues

If you encounter any issues or have suggestions, please open an issue.

About

This Python script allows you to make a specified window always on top using the `pygetwindow` and `pywin32` libraries.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages