Hack Forums
[Python] [Question] How to add python command on Context Menu - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Python] [Question] How to add python command on Context Menu (/showthread.php?tid=6176099)



[Question] How to add python command on Context Menu - iRazor - Oct 9, 2021

I have a little problem about context menu,

Can i ask if it is possible to execute python scripts on context menu with the use of python path [CMD]

[Image: image.png]

it is working on .exe program as the value path of my commands under Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell

unfortunately when i tried to add a path of python scripts which is usually running under cmd, when i click on the right click, nothing appears or nothing has been loading or the program didn't execute

maybe i lack something in command to make it work?

all i want is how to run the said python tools without their shortcut and instead i want to run/command it on the Context Menu with corresponding key from the shell.

[Image: image.png]



Thank you


RE: [Question] How to add python command on Context Menu - Louis Vuitton - Oct 10, 2021

You can head over to the coding section and ask them to help you write a program that calls a python script or code upon PC start.

Just speculating here though.


RE: [Question] How to add python command on Context Menu - iRazor - Oct 13, 2021

(Oct 10, 2021 06:27 PM)theartofbored Wrote:  You can head over to the coding section and ask them to help you write a program that calls a python script or code upon PC start.

Just speculating here though.

okay sir, however it is not just the python, even with .exe's which is running under cmd doesn't seems to work.. it is working only when you click through its created shortcut but on the context menu / shell, i miss something :(


RE: [Question] How to add python command on Context Menu - steel iron - Oct 15, 2021

hello i need to learn python for do a ap