Suclogger
V2EX  ›  macOS

OSX 如何快速切换媒体键/Fn 功能键

By Suclogger at 2015 年 9 月 13 日 · 3246 次点击

如图中的设置项:
因为写代码的时候要用到 Fn ,但是不写代码的时候媒体控制功能就比较实用
ps.没带外接键盘

第 1 条附言  ·  2015 年 9 月 14 日
将 @ffffwh 提供的 applescript 包装成了一个 alfred workflow ,感兴趣的可以下载使用。谢谢 @ffffwh

https://github.com/suclogger/alfred-toggle-function-media-key
11 条回复  •  2015-09-14 11:40:40 +08:00
Suclogger
   1
Suclogger  
OP
   2015 年 9 月 13 日
crystone
   2
crystone  
   2015 年 9 月 13 日
如果能设置一个全局快捷键最好了
gongziheng1995
   3
gongziheng1995  
   2015 年 9 月 14 日   ❤️ 1
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
gongziheng1995
   4
gongziheng1995  
   2015 年 9 月 14 日   ❤️ 2
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/
paicha
   5
paicha  
   2015 年 9 月 14 日
ffffwh
   6
ffffwh  
   2015 年 9 月 14 日   ❤️ 1
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.
pH
   7
pH  
   2015 年 9 月 14 日 via iPad
我好奇一点,这个和没外接键盘有啥关系
Suclogger
   8
Suclogger  
OP
   2015 年 9 月 14 日
@pH 外接如果是全键盘的话自带 Fn 嘛,媒体键可以用自带键盘上的
Suclogger
   9
Suclogger  
OP
   2015 年 9 月 14 日
@gongziheng1995 很棒,可惜作者 12 年以来都没有更新了
xiaket
   10
xiaket  
   2015 年 9 月 14 日
Karabiner 加少量配置就可以实现.
canautumn
   11
canautumn  
   2015 年 9 月 14 日
@Suclogger 不更新是不需要更新…… Paula 我用的挺好。这种功能稳定的 App 总更新其实是坏事,那样岂不是 Bug 太多?
© 2026 V2EX · 39ms · 3.9.8.5