opus-nt/tweaks/[ten]/disable recently opened items/apply.py

9 lines
336 B
Python

def main():
if not "ten" in env.os.tags: env.applied = False; return
for user in env.reg.users:
explorer = opus.reg.path.join([user,"SOFTWARE","Microsoft","Windows","CurrentVersion","Explorer"])
opus.reg.add(explorer,"ShowRecent","REG_DWORD","0x00000000")
opus.reg.add(explorer,"ShowFrequent","REG_DWORD","0x00000000")
main()