简体   繁体   English

资源管理器右键单击上下文菜单与python?

[英]explorer right click context menu with python?

I'm wondering how to go about adding a menu item to explorers right click context menu. 我想知道如何向浏览器右键单击上下文菜单添加菜单项。 For instance, when I right click on a file I get things like winrars "Add to archive" I want something like that and I'm wondering how to do it with python. 例如,当我右键单击一个文件时,我得到像winrars这样的东西“添加到存档”我想要这样的东西,我想知道如何用python做到这一点。

To Add more items to explorer right click menu, you just need to add some registry keys. 要向资源管理器右键单击菜单添加更多项目,只需添加一些注册表项即可。

For example, take a look at this site, there is some examples and some tools. 例如,看看这个网站,有一些例子和一些工具。

http://windowsxp.mvps.org/context_folders.htm http://windowsxp.mvps.org/context_folders.htm

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 PyGObject 右键单击​​上下文菜单 - Right click context menu with PyGObject 如何使用 Python 在 Windows 应用程序中获得右键单击上下文菜单? - How to get right click context menu in Windows application using Python? 使用 PyGTK 的右键单击菜单(上下文菜单) - Right Click Menu (context menu) using PyGTK Maya右键单击上下文相关菜单 - Maya right click context sensitive menu tkinter 应用程序添加右键单击上下文菜单? - tkinter app adding a right click context menu? 如何右键单击Windows托盘图标并单击Python上下文菜单中的项目? - How do I right click on a windows tray icon and clicking on item on context menu in Python? 通过在 Windows 中右键单击“打开方式”上下文菜单将文件传递给 Python,然后在另一个程序中打开 - Pass a file to Python via the Right-Click 'Open With' context menu in windows, to then open in another program 如何通过Windows右键单击上下文菜单将多个参数传递给python程序 - How to pass multiple arguments to a python program via windows right-click context menu 将新项目添加到 Windows 上下文菜单(右键菜单) - Add new item into Windows context menu (right click menu) 如何在硒python中单击右键菜单? - How click on right click menu in selenium python?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM