opus-nt/mods/[all]/move open with to top/modscript.py

6 lines
711 B
Python
Raw Normal View History

2021-03-19 02:44:27 +00:00
opusnt.runReg(["delete",opusnt.regTmpPath + "software\\Classes\\*\\shellex\\ContextMenuHandlers\\Open With","/f"],check=False)
opusnt.runReg(["add",opusnt.regTmpPath + "software\\Classes\\*\\shell\\1 Open With","/ve","/t","REG_SZ","/d","Open with","/f"])
opusnt.runReg(["add",opusnt.regTmpPath + "software\\Classes\\*\\shell\\1 Open With","/v","Position","/t","REG_SZ","/d","Top","/f"])
opusnt.runReg(["add",opusnt.regTmpPath + "software\\Classes\\*\\shell\\1 Open With","/v","Icon","/t","REG_SZ","/d","C:\\\\System32\\\\Shell32.dll,208","/f"])
opusnt.runReg(["add",opusnt.regTmpPath + "software\\Classes\\*\\shell\\1 Open With\\command","/ve","/t","REG_SZ","/d","{09799AFB-AD67-11d1-ABCD-00C04FC30936}","/f"])