我的F12
- 在浏览器中f12打开web开发者工具
- 在Photoshop中f12导出切片“保存为web和设备所用格式”;菜单>编辑>键盘快捷键>…
- 在资源管理器中f12使用sublime text打开文件;利用autohotkey实现,代码如下:
openSelectedfile(p) { ClipSaved := ClipboardAll Clipboard = ValidFiletypes = txt html js json htm md markdown ahk Send ^c ClipWait FullPath := Clipboard Loop, parse, FullPath, `n, `r { IfNotExist, %A_Loopfield% continue SplitPath, A_Loopfield ,,, OutExt, IfInString, ValidFiletypes, %OutExt% run, %p% %A_LoopField% } Clipboard := ClipSaved OutExt = ClipSaved = return } #IfWinActive ahk_class CabinetWClass F12:: openSelectedfile("H:\Program Files\Sublime Text 2\sublime_text.exe") #IfWinActive
- 在sublime text中f12在本地服务器预览页面;参考 《使用sublime text中快速预览服务器对应页面》
近期评论