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):
pip install --upgrade psgshortcut
If you use the command python3
on your computer to invoke Python (Linux, Mac):
pip3 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:
- Open a command window (I promise, it's the last time you'll need to for this program)
- Type -
where psgshortcut
- Copy the line that
where psgshortcut
gave you into the first input of the shortcut maker program - Run psgshortcut by typing
psgshortcut
in your command window - Right click and choose "File Location"
- Copy the file location results, but change the extension from .py to .ico and paste into the Icon file input of the shortcut maker
- 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-2024 PySimpleSoft, Inc. and/or its licensors.
This is a free-to-use "Utility" and is licensed under the PySimpleGUI License Agreement, a copy of which is included in the license.txt file and also available at https://pysimplegui.com/eula.
Please see Section 1.2 of the license regarding the use of this Utility, and see https://pysimplegui.com/faq for any questions.
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
Built Distribution
Hashes for psgshortcut-5.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a831efaf11ed2aabd9ab5b90720904b63bdd1eccab9394b3dd4055d26fe88bc |
|
MD5 | 660a4822a4febef2af2d1818b872f5fb |
|
BLAKE2b-256 | feaa9d0822369654e02615263037024461ad76dc124b7b07c3c7d0ea099e8c48 |