typora字体设置颜色方法之一 |
您所在的位置:网站首页 › typora双边预览 › typora字体设置颜色方法之一 |
方案一:安装软件AutoHotKey(较简单)
AutoHotKey是一款著名的windows系统快捷键设置的软件,轻便小巧。 官方下载: https://autohotkey.com/download/ahk-install.exe (1)先安装AutoHotKey (2)打开记事本,把如下内容复制粘贴进去: ; Typora ; 快捷增加字体颜色 ; SendInput {Text} 解决中文输入法问题 #IfWinActive ahk_exe Typora.exe { ; Ctrl+Alt+O 橙色 ^!o::addFontColor("orange") ; Ctrl+Alt+R 红色 ^!r::addFontColor("red") ; Ctrl+Alt+B 浅蓝色 ^!b::addFontColor("cornflowerblue") } ; 快捷增加字体颜色 addFontColor(color){ clipboard := "" ; 清空剪切板 Send {ctrl down}c{ctrl up} ; 复制 SendInput {TEXT} SendInput {ctrl down}v{ctrl up} ; 粘贴 If(clipboard = ""){ SendInput {TEXT} ; Typora 在这不会自动补充 }else{ SendInput {TEXT} |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |