GithubHelp home page GithubHelp logo

pysystray's Introduction

pysystray

Programme en python pour executer des commandes avec le system tray. Le programme est en Python 3 et il fonctionne sous windows 10.

Installation

Pour installer le script, il faut executer les commandes suivantes :

cd c:\repertoire\installation
git clone https://github.com/abarhub/pysystray.git
cd pysystray
pip install -r requirements.txt  (ou install.bat)
run.bat

Pour lancer le script, il faut executer :

run.bat

ou

python main.py

Pour que le script se lance au démarrage, il faut créer un racourci dans le répertoire :

%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup

Configuration

La liste des commandes doit être défini dans le fichier de configuration config.yml.

Exemple de fichier de configuration :

config.yml

commandes:
  - commande1:
      description: Commande 1
      execution: dir
  - commande2:
      description: Commande 2
      execution: cmd /C test\run.bat
  - commande3:
      description: Commande 3
      execution: start test\run.bat

pysystray's People

Contributors

abarhub avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.