如图中的设置项:
因为写代码的时候要用到 Fn ,但是不写代码的时候媒体控制功能就比较实用
ps.没带外接键盘
第 1 条附言 · 2015 年 9 月 14 日
将 @ffffwh 提供的 applescript 包装成了一个 alfred workflow ,感兴趣的可以下载使用。谢谢 @ffffwh
https://github.com/suclogger/alfred-toggle-function-media-key
https://github.com/suclogger/alfred-toggle-function-media-key
11 条回复 • 2015-09-14 11:40:40 +08:00
|
1
Suclogger OP |
|
2
crystone 2015 年 9 月 13 日
如果能设置一个全局快捷键最好了
|
|
3
gongziheng1995 2015 年 9 月 14 日 Palua will do exactlly what you need.
“ Introducing Palua, the easy way to quickly switch the mode of your Function Keys on any Mac keyboard! You need to run a game, or start a graphic application, or work on a project that need F1-F12 as function keys, just hit option+command+TAB and the switch will happen. Smart Mode: Key mode changes with the application that has the focus. ” https://itunes.apple.com/us/app/palua/id431494195?mt=12 |
|
4
gongziheng1995 2015 年 9 月 14 日 FunctionFlip might be what you're looking for.
“ FunctionFlip's purpose is simply to disable the special features — rewind, play, mute, etc. — on the function keys. For example, if you "flip" F7, F8, and F9, those keys — only those keys — will revert back to normal F keys. Press the fn key with the special key to get the special function back. That is, the "special" and "normal" functions are flipped. To assign a custom shortcuts to your reclaimed keys, use a program like Quicksilver or Keyboard Maestro. ” http://kevingessner.com/software/functionflip/ |
|
5
paicha 2015 年 9 月 14 日
|
|
6
ffffwh 2015 年 9 月 14 日 Here is an apple script doing this
>>>> tell application "System Preferences" set current pane to pane "com.apple.preference.keyboard" end tell tell application "System Events" tell tab group 1 of window 1 of process "System Preferences" click radio button 1 click checkbox 1 end tell end tell quit application "System Preferences" <<<< Save it as an application, grant accessiblity to it, and make a service to run it. Assign a shortcut if you would like to. |
|
7
pH 2015 年 9 月 14 日 via iPad
我好奇一点,这个和没外接键盘有啥关系
|
|
9
Suclogger OP @gongziheng1995 很棒,可惜作者 12 年以来都没有更新了
|
|
10
xiaket 2015 年 9 月 14 日
Karabiner 加少量配置就可以实现.
|