Skip to main content

Utility made with PySimpleGUI to create shortcuts of files or programs

Project description

psgshortcut

A PySimpleGUI Application

PySimpleGUI Shortcut Tool

Creates Windows shortcuts

Features

  • Makes shortcuts for any file
  • Shortcuts can be added to your desktop or pin to the taskbar
  • Click (or double click) to launch the shortcut
  • Enables interacting with Python programs more "Windows-like"

Installation

Using PIP with PyPI

The latest official release of PySimpleGUI products can be found on PyPI. To pip install the demo applications from PyPI, use this command

If you use the command python on your computer to invoke Python (Windows):

python -m pip install --upgrade psgshortcut

If you use the command python3 on your computer to invoke Python (Linux, Mac):

python3 -m pip install --upgrade psgshortcut

Using PIP with GitHub

You can also pip install the PySimpleGUI Applications that are in the PySimpleGUI GitHub account. The GitHub versions have bug fixes and new programs/features that have not yet been released to PyPI. To directly pip install from that repo:

If you use the command python on your computer to invoke Python (Windows):

python -m pip install --upgrade https://github.com/PySimpleGUI/psgshortcut/zipball/main

If you use the command python3 on your computer to invoke Python (Linux, Mac):

python3 -m pip install --upgrade https://github.com/PySimpleGUI/psgshortcut/zipball/main

Usage

Once installed, launch psgshortcut by typing the following in your command line:

psgshortcut

Create a Shortcut To This Program

Use this program to make a shortcut to itself so that you can then put on your desktop or pin to your taskbar or ???

To do this, follow these steps:

  1. Open a command window (I promise, it's the last time you'll need to for this program)
  2. Type - where psgshortcut
  3. Copy the line that where psgshortcut gave you into the first input of the shortcut maker program
  4. Run psgshortcut by typing psgshortcut in your command window
  5. Right click and choose "File Location"
  6. Copy the file location results, but change the extension from .py to .ico and paste into the Icon file input of the shortcut maker
  7. Click "Create Shortcut"

These steps will create a shortcut in the same folder as the target file. You can safely move this shortcut file any place you want (like to your desktop). Double-click the shortcut and your program should launch.

Make Shortcuts To Anything

You can not only make shortcuts to Python programs, but you can make shortcuts to EXE and other files. The GUI is self-explanatory. Fill in the inputs, click the Make Shortcut button and you'll find the shortcut in the same folder as the target program.

Important Note - Pinning To Taskbar Requires "Python Command"

If you wish to pin your shortcut to the taskbar, then be sure to fill in the "Python Command" field with the full path to your pythonw.exe file. Without it you'll get "IDLE" as the program that's pinned. You can skip filling in this field if you're going to place the shortcut on your desktop or other location.

License & Copyright

Copyright 2023-2026 PySimpleGUI.

Licensed under LGPL3.

Contributing

We are happy to receive issues describing bug reports and feature requests! If your bug report relates to a security vulnerability, please do not file a public issue, and please instead reach out to us at issues@PySimpleGUI.com.

We do not accept (and do not wish to receive) contributions of user-created or third-party code, including patches, pull requests, or code snippets incorporated into submitted issues. Please do not send us any such code! Bug reports and feature requests should not include any source code.

If you nonetheless submit any user-created or third-party code to us, (1) you assign to us all rights and title in or relating to the code; and (2) to the extent any such assignment is not fully effective, you hereby grant to us a royalty-free, perpetual, irrevocable, worldwide, unlimited, sublicensable, transferrable license under all intellectual property rights embodied therein or relating thereto, to exploit the code in any manner we choose, including to incorporate the code into PySimpleGUI and to redistribute it under any terms at our discretion.

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

psgshortcut-6.0.tar.gz (30.9 kB view details)

Uploaded Source

Built Distribution

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

psgshortcut-6.0-py3-none-any.whl (32.7 kB view details)

Uploaded Python 3

File details

Details for the file psgshortcut-6.0.tar.gz.

File metadata

  • Download URL: psgshortcut-6.0.tar.gz
  • Upload date:
  • Size: 30.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for psgshortcut-6.0.tar.gz
Algorithm Hash digest
SHA256 3ab7611e7e71cbceead97a0ee2fdcac3705bc98c9978e83fb1097aaf10497655
MD5 ff3be8c1ef4528a9f71d4cb1abe9438c
BLAKE2b-256 85753b887862e7a8da643eaff442fb1d4393bb2f7e24530a0a438c0f07fc1800

See more details on using hashes here.

File details

Details for the file psgshortcut-6.0-py3-none-any.whl.

File metadata

  • Download URL: psgshortcut-6.0-py3-none-any.whl
  • Upload date:
  • Size: 32.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for psgshortcut-6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0af29751fe3ff23f606a5744aef79abb2b9065d695f3e6854a8eff173dce5a02
MD5 a6302f4b41693126c3a8cde6ad80a1a5
BLAKE2b-256 6f3f561b99497ff0053e3fdaf8d8078e8ee9cfb309b6600e27900599e92b8863

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