Skip to main content

An icon resided in the task bar for managing .bat scripts.

Project description

tray-launcher

Python: 3.7+ License: MIT PyPI: tray-launcher Code style: black

A launcher that resides in the Windows task bar for managing .bat scripts.

Installation

tray-launcher can be installed with pip install tray-launcher.

Usage

To start the tray launcher, first make sure you are in the Python environment variable where tray-launcher is installed. Then, running launcher run will show a small icon in the taskbar.

The tray launcher comes with a command line interface. Use launcher -h to learn more.

Before running any scripts from the tray launcher, they need to be loaded. This can be done by clicking the option Load New Script(s) in the contextmenu. Alternatively, paste scripts under %USERPROFILE%\.tray_launcher\scripts. Only .bat files are accepted.

To run a script, select it in the Start a Script submenu from the contextmenu, or click "View All" to see all loaded scripts in a file dialogue.

Loggings of the tray launcher and the scripts you run will be saved under %USERPROFILE%\.tray_launcher\logs.

The tray launcher will list all scripts you started and are currently running. Move the cursor over to view more actions.

Notes

  1. The tray launcher only works on Windows.

  2. The tray launcher listens to 127.0.0.1:7686. If this port is not available, the command line interface will not work. You need to go to control panel, create a new environment variable named TRAY_LAUNCHER_PORT and set its value to a port number that is available on your device.

  3. If the tray launcher crashes, scripts started via the tray launcher will NOT be terminated.

  4. There will be an expected delay when you run "launcher run".

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tray-launcher-1.0.1.tar.gz (51.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tray_launcher-1.0.1-py3-none-any.whl (50.7 kB view details)

Uploaded Python 3

File details

Details for the file tray-launcher-1.0.1.tar.gz.

File metadata

  • Download URL: tray-launcher-1.0.1.tar.gz
  • Upload date:
  • Size: 51.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for tray-launcher-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a8c5387f1e842fe00aaaa3e3d4c76055d9a5eaad18e8089cfe0c08e2c63eb206
MD5 d335246ad69730e338892a2d4e456819
BLAKE2b-256 6d3552f31843d6cc7bc238169368ca8f48f85c44700c574b04034a33bbd882ba

See more details on using hashes here.

File details

Details for the file tray_launcher-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: tray_launcher-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 50.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for tray_launcher-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 20161afd54a39575d162b61893d08d2ed838ca2de4c35b40dc8e19f06d82a29d
MD5 03662dd4fa099ff8557d0de61eff659a
BLAKE2b-256 3698d68c3d797d6dd07393c3b62d082e02d7991e963251e33c5d38cd1885ac6c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page