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 taskbar for managing .bat scripts.

Installation

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

Note: tray launcher only works on Windows.

Usage

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

To get started, run launcher run, and a small icon will show on the taskbar.

Before running any scripts from tray launcher, they need to be loaded. This can be done by clicking the option Load New Script(s) in the context menu. Alternatively, run launcher load [full path to the script]. Only .bat files are accepted.

To run a script, select it in the Start a Script submenu from the context menu, or click [View in Directory] to see all loaded scripts from a file dialogue, or run launcher start [script name].

tray launcher listens to port 127.0.0.1:7686. If this port is not available, the command line interface will not work. To fix this, create a new environment variable named TRAY_LAUNCHER_PORT in the control panel and set its value to an available port number.

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

In case of tray launcher crashing, scripts started via tray launcher will NOT be terminated.

There is an expected delay when executing "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.2.tar.gz (51.0 kB view hashes)

Uploaded Source

Built Distribution

tray_launcher-1.0.2-py3-none-any.whl (50.7 kB view hashes)

Uploaded Python 3

Supported by

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