-
-
Notifications
You must be signed in to change notification settings - Fork 1
Shortcut Windows
This document explains how to associate files with a specific extension (.pmeraw) with a Python application (moleditpy.exe) so they can be opened by double-clicking, and how to set the icon to be used.
| Item | Details |
|---|---|
| Executable File | C:\Users\%USERNAME%\AppData\Local\Programs\Python\PythonXX\Scripts\moleditpy.exe |
| File Extension | .pmeraw |
Replacing Placeholders:
- Replace
%USERNAME%with your Windows username.- Replace
PythonXXwith your installed Python version directory (e.g.,Python313orPython311).
Specify the following icon file for file associations and shortcuts.
| Item | Details |
|---|---|
| Icon File Path | C:\Users\%USERNAME%\AppData\Local\Programs\Python\PythonXX\Lib\site-packages\moleditpy\assets\icon.ico |
To open .pmeraw files with moleditpy.exe by double-clicking, follow these steps to associate the file type.
In File Explorer, right-click a file with the extension you want to associate (e.g., sample.pmeraw).
- Select "Properties" from the context menu.
- In the "General" tab, next to "Opens with:", click the "Change..." button.
- When the "How do you want to open this file?" window appears, select "More apps" → "Look for another app on this PC".
- Navigate to and select
moleditpy.exeusing the following path (with placeholders replaced):C:\Users\%USERNAME%\AppData\Local\Programs\Python\PythonXX\Scripts\moleditpy.exe - Click "Open".
Applying a custom icon to a system-wide file association typically requires editing the registry. Registry editing is an advanced task and should be done with caution.
These are the steps to create an application shortcut and set its icon.
- Right-click on any empty area, such as the Desktop.
- Select "New" → "Shortcut".
- In the "Type the location of the item:" field, enter the following path (with placeholders replaced):
C:\Users\%USERNAME%\AppData\Local\Programs\Python\PythonXX\Scripts\moleditpy.exe - Click "Next".
Give the shortcut a name (e.g., moleditpy) and click "Finish".
- Right-click the newly created shortcut and select "Properties".
- In the "Shortcut" tab, click the "Change Icon..." button.
- Browse to and select the
icon.icofile from the following path:C:\Users\%USERNAME%\AppData\Local\Programs\Python\PythonXX\Lib\site-packages\moleditpy\assets\icon.ico - Click "OK", then "Apply", and finally "OK" to finish.
Shortcuts for the Windows Start Menu are stored in specific hidden folders. To add your application shortcut to the Start Menu's program list, copy or move it to one of the following folders.
Enter one of the following paths into the File Explorer address bar and press Enter.
Placing the shortcut here will make it appear only in the Start Menu for the currently logged-in user.
%APPDATA%\\Microsoft\\Windows\\Start Menu\\Programs
```
#### B. Start Menu for All Users (May require administrator privileges)
Placing the shortcut here will make it appear in the Start Menu for all users on the PC.
```
%ALLUSERSPROFILE%\\Microsoft\\Windows\\Start Menu\\Programs
```
### Step 2: Copy or Move the Shortcut
1. Arrange the windows so you can see both the Start Menu folder (opened in Step 1) and the location of your created shortcut (e.g., the `moleditpy` shortcut on your Desktop).
2. Drag and drop the shortcut into the Start Menu folder window to **move** it, or hold down the `Ctrl` key while dragging to **copy** it.
### Step 3: Verify
Click the Start button and check that the shortcut with the name you provided (e.g., `moleditpy`) has been added to the program list.
-----
You have now completed the process, from creating a desktop shortcut to placing it in the Start Menu.