博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
autohotkey快捷键显示隐藏文件和文件扩展名
阅读量:4067 次
发布时间:2019-05-25

本文共 1591 字,大约阅读时间需要 5 分钟。

下面是我日常使用的ahk脚本中的一部分.

可以很方便的在资源管理器中使用快捷键显示隐藏文件或者文件扩展名, 提高工作效率.

#SingleInstance force      ;force a single instance#HotkeyInterval 0          ;disable the warning dialog if a key is held down#InstallKeybdHook          ;Forces the unconditional installation of the keyboard hook#MaxThreads 20             ;use 20 (the max) instead of 10 threads;#NoTrayIcon#NoEnvSetBatchLines, -1          ;makes the script run at max speedSetKeyDelay , -1, -1       ;faster response (might be better with -1, 0)DetectHiddenText, OnDetectHiddenWindows, On    ;detect hidden window;;win7资源管理器的窗口类名, 如果是XP下, 需要修改GroupAdd, Win7ShellClass, ahk_class WorkerWGroupAdd, Win7ShellClass, ahk_class ProgmanGroupAdd, Win7ShellClass, ahk_class CabinetWClassGroupAdd, Win7ShellClass, ahk_class #32770#IfWinActive,ahk_group Win7ShellClass;;CTRL+Q显示隐藏系统文件^Q::RegRead,value,HKEY_CURRENT_USER,Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\, HiddenIf(value=1)value = 2Elsevalue = 1RegWrite, REG_DWORD, HKEY_CURRENT_USER,Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\, Hidden, %Value%RegWrite, REG_DWORD, HKEY_CURRENT_USER,Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\, ShowSuperHidden, %Value%-1PostMessage,0x111,0x7103,0,SHELLDLL_DefView1,Areturn;;CTRL+W显示文件扩展名^W::RegRead,Value,HKEY_CURRENT_USER,Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\,HideFileExtIf(value=0)value = 1Elsevalue = 0RegWrite, REG_DWORD,HKEY_CURRENT_USER,Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\,HideFileExt, %Value%PostMessage,0x111,0x7103,0,SHELLDLL_DefView1,Areturn#IfWinActive

转载地址:http://nraji.baihongyu.com/

你可能感兴趣的文章
mongoDB简介
查看>>
Redis持久化存储(AOF与RDB两种模式)
查看>>
memcached工作原理与优化建议
查看>>
Redis与Memcached的区别
查看>>
redis sharding方案
查看>>
程序员最核心的竞争力是什么?
查看>>
Node.js机制及原理理解初步
查看>>
linux CPU个数查看
查看>>
分布式应用开发相关的面试题收集
查看>>
简单理解Socket及TCP/IP、Http、Socket的区别
查看>>
利用HTTP Cache来优化网站
查看>>
利用负载均衡优化和加速HTTP应用
查看>>
消息队列设计精要
查看>>
分布式缓存负载均衡负载均衡的缓存处理:虚拟节点对一致性hash的改进
查看>>
分布式存储系统设计(1)—— 系统架构
查看>>
MySQL数据库的高可用方案总结
查看>>
常用排序算法总结(一) 比较算法总结
查看>>
SSH原理与运用
查看>>
SIGN UP BEC2
查看>>
S3C2440中对LED驱动电路的理解
查看>>