![]() | 1 vashthewhite 2016-09-19 11:03:59 +08:00 用 Alfred 或 QuickSilver 可以实现 |
![]() | 2 HanningWu OP @vashthewhite Alfred 如何实现? |
4 laxapple 2016-09-19 14:58:02 +08:00 Open selected Finder items in application http://www.alfredforum.com/topic/1345-open-selected-finder-items-in-an-application-keyword/ |
![]() | 5 fatestigma 2016-09-19 17:57:26 +08:00 可以用 Alfred 或 Automator 设置一些快捷键完成。比如我的所有 Markdown 文件,默认双击是用 Marked 浏览,而 +E 则是用 MacVim 编辑。 |
6 hoythan 2016-09-19 18:39:52 +08:00 spark 是唯一选择. |
![]() | 7 HanningWu OP @fatestigma 想知道如何设置。。 |
![]() | 8 fatestigma 2016-09-21 15:43:22 +08:00 ![]() @HanningWu 下面给个简单的 AppleScript 示例,根据自己的需求修改就行了。 Alfred 直接给在 Workflows 中一个快捷键 trigger 加一个 NSAppleScript 的 action 就行了(需要 Powerpack )。 免费的方法就是 Automator 做一个 Service ,设置为 receives files in Finder ,添加一个「 Open Finder Items 」,然后底下选择「 Open With...」,然后在系统偏好设置->键盘->快捷键-> Services 中设置快捷键。 tell application "Finder" if (selection ≠ {}) then set _file to (selection as alias) tell application appName activate open _file end tell end if end tell |
![]() | 9 HanningWu OP @fatestigma 非常感 |