Right-click on ulipad on win7

  
Right-click on ulipad on win7
Ulipad is a good editor, but setting the right-click association via ulipad interface on win7 will fail, but you can right-click by modifying the registry in a few simple steps.
First look at the effect:

1. Open the registry (win+R, run the box to enter regedit)
2. Set the *.py file first. Find the registry directory HKEY_CLASSES_ROOT/Python.File/shell, right click on the shell folder icon → new → item, name the new item, what name is here, what name will be displayed in the right button, such as mine “Edit with UliPad”.
3. On the "Edit with UliPad", continue to right click on the new item, the item name is "command", point command, the right side appears "default", the data behind is empty, now is here adding data.

4. Double-click the "Default" button to copy the following characters:
"C:/Python26/pythonw.exe" "D:/Program Files/ulipad/UliPad.pyw" ; -n "%1"
The first quotation mark is the location of pythonw.exe, which is generally "C:/Python26/pythonw.exe" (I am more special in the picture, because I am using ArcGIS for Python, the path is different)
The second quotation mark is the location of ulipad.pyw, fill in according to your own situation, pay attention to the case of
behind some parameters, I do not understand, copy On the line, pay attention to the quotation marks, do not use Chinese characters
5. After filling out, press F5 to refresh, then right click on the *.py file to see if there is one item and can open it.
6. Also find the registry directory HKEY_CLASSES_ROOT/Python.NoConFile/shell, set the file with the suffix *.pyw, exactly the same as the above steps


Copyright © Windows knowledge All Rights Reserved