Activate Python Scripts from Python Hotkeys

Поділитися
Вставка
  • Опубліковано 6 вер 2024
  • Following on from earlier video ‘Activate Python Scripts from AutoHotKey V2 Hotkeys’ ( • Activate Python Script... ) I wanted to add a hotkey information help message box, so I can easily find out the hotkeys for triggering specific scripts. I find this useful when I have a lot of hotkeys and hotstrings and so I do not have to remember them all but can easily refer to them with the message box from the system tray Icon for AutoHotKeys.
    In Python you do not have the system tray icon by default. So I needed to explore a few issues.
    1.. How to close the program if using without command console
    2. How to run the python script without the command console ( use file extension .pyw & point to where your python.exe file is located at top line with (# ! pathto/python.exe)
    3. How to show Help information with a list of hotkeys and what they do.
    4. How to create a system tray icon in windows for the python script
    5. How to add a tray item as a pop-up message box in python so you can refer to the script hotkeys easily
    6. How to use a shortcut.lnk file and put it in the windows startup location (found by running RUN & then in run propt putting shell:startup to open file explorer in startup folder to add shortcut link.
    Resources:
    Python Keyboard Package - pypi.org/proje...
    Github & Documentation for Keyboard package - github.com/bop...
    You can download the files from this link:
    drive.google.c...
    I hope this is of help to you, if so, can you please give a thumbs up for the video. Muchas Gracias Please visit my blog for similar topics: cr8ive.tk
    Kind regards, Max Drake

КОМЕНТАРІ • 3

  • @rubenu5157
    @rubenu5157 7 місяців тому

    Exactly what I was looking for. I'm also looking for Radial menus. Any ideas besides Radial menu V4?

    • @MaxDrake
      @MaxDrake  7 місяців тому

      there is also AutoHotKey , that has a lot of things you can script yourself. 2 others I use all the time are executor.dk/ and maxlauncher.sourceforge.io/. MaxLauncher is versatile and you can put lots of things under keys, web pages and scripts, and handy place to store lots of scripts that you'd otherwise have difficulty remembering the keys for launching that particular script/app etc. I've made UA-cam vid on MaxLauncher (ua-cam.com/video/PgjgGRWJ4no/v-deo.html) and other free productivity tools playlist (studio.ua-cam.com/users/playlistPLefQD9ccYWsiYt3AaW3tj-DQyrnBCu2nX/videos), I hope that helps, kind regards,

    • @rubenu5157
      @rubenu5157 7 місяців тому

      Thank you, I'll check those. I use QAP that is based on AHK. I'm a senior process technician for Intel Corp and we have so many reports and programs to use that keyboard and mouse overuse is #1 in injuries. I use a 15 button Stream deck with QAP. I got lazy after finding QAP and stopped programming in AHK V1. I mainly work with SSRS, SQL and advanced Excel. I do most of the scripts for my shift. I got one of your books.@@MaxDrake