修改注册表 使桌面右键添加多级菜单……这个应该怎么做
在网上淘的……Windows Registry Editor Version 5.00
"MUIVerb"="App Laucher"
"SubCommands"="Opera;Notepad;Looknstop;UTorrent;Internet explore"
@="Opera"
"Icon"="C:\\Program Files (x86)\\Opera\\opera.exe"
@="C:\\Program Files (x86)\\Opera\\opera.exe"
@="Notepad"
"Icon"="C:\\Program Files (x86)\\Notepad2.exe"
@="C:\\Program Files (x86)\\Notepad2.exe"
@="Looknstop"
"Icon"="C:\\Program Files\\Soft4Ever\\looknstop\\looknstop.exe"
@="C:\\Program Files\\Soft4Ever\\looknstop\\looknstop.exe"
@="UTorrent"
"Icon"="C:\\Program Files (x86)\\uTorrent\\uTorrent.exe"
@="C:\\Program Files (x86)\\uTorrent\\uTorrent.exe"
@="Internet explore"
"Icon"="C:\\Program Files\\Internet Explorer\\iexplore.exe"
@="C:\\Program Files\\Internet Explorer\\iexplore.exe"
问题就是、我想在 App Laucher 下添加个二级菜单、比如 就叫做 “ Games” 、然后在 Games 菜单下 添加一些 启动程序 就像上面的 Opear uTorrent.exe一样&……请问该怎么写注册表呢??? 这个肯定得制作dll文件 回复 2# afan
dll倒未必必须,不过注册表内部的层级好像挺麻烦的
lz,打开hkcr\*看看,照着写写试试 回复afan
dll倒未必必须,不过注册表内部的层级好像挺麻烦的
lz,打开hkcr\*看看,照着写写试试
netegg 发表于 2012-1-15 12:52 http://www.autoitx.com/images/common/back.gif
如果不需要 dll 那可要好好学下了,不会做 dll 很多时候很无奈~ 回复 4# afan
其实如果做dll文件也是为了添加这些注册表,因为有的时候需要用到类注册以便直接关联到某个clsid(class id) 回复afan
其实如果做dll文件也是为了添加这些注册表,因为有的时候需要用到类注册以便直接关联到某个cl ...
netegg 发表于 2012-1-15 13:06 http://www.autoitx.com/images/common/back.gif
添加注册表是为了好调用 dll 吧,我一直都是这么认为的。被你这么一说我迷失了… 本帖最后由 netegg 于 2012-1-15 13:18 编辑
回复 6# afan
不一定,也可以直接执行命令,比如右键运行cmd,没有dll调用
RegWrite("HKCR\Drive\shell\defrag", "", "REG_SZ", "碎片整理(&D)")
RegWrite("HKCR\Drive\shell\defrag\command", "", "REG_SZ", "defrag.exe %1")
回复 7# netegg
这个我知道,但是如果不是单纯的添加1项菜单,而是更多内容,如加多级子菜单、加图标、加图片等,应该是需要dll的。 回复 8# afan
那要看项目具体情况了 留个脚印,以后回来学习 这个肯定得制作dll文件
afan 发表于 2012-1-15 12:46 http://www.autoitx.com/images/common/back.gif
谢谢斑竹的解答…… 不会写Dll只能这么凑活用了 回复 3# netegg
谢谢拉……就这样凑活用吧 WIN7倒是可以直接修改注册表,XP记得要用DLL才行 收藏先,等到公司上班了再研究
页:
[1]