V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
sammo
V2EX  ›  macOS

OS X 如何做按钮选择?

  •  
  •   sammo · Apr 1, 2015 · 2563 views
    This topic created in 4046 days ago, the information mentioned may be changed or developed.
    比如我重命名了一个文件,会弹出这个对话框让我确认

    是否能(在键盘上 按某键)直接跳到 " 使用 .m " 按钮 ?
    7 replies    2015-04-02 23:56:20 +08:00
    Csineneo
        1
    Csineneo  
       Apr 1, 2015 via iPhone   ❤️ 1
    $ defaults write NSGlobalDomain AppleKeyboardUIMode -int 3

    然後 tab
    Csineneo
        2
    Csineneo  
       Apr 1, 2015 via iPhone
    或者禁掉這個對話框
    $ defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
    popbones
        3
    popbones  
       Apr 1, 2015   ❤️ 1
    或者“System Preferences->Keyboard->Shortcuts”勾选"All Controls”,然后就可以用Tab切换按钮焦点了。
    sheephe
        4
    sheephe  
       Apr 1, 2015
    @popbones 试了 能切换光标 但按enter 后 名字还是没改掉
    sheephe
        5
    sheephe  
       Apr 1, 2015
    @popbones 我发现要用空格键是可以的 不是回车键 不过我也用了 @Csineneo 的代码 反正是行了
    canautumn
        6
    canautumn  
       Apr 2, 2015
    是要按空格,空格是点击当前按钮,就是高亮边框的那个。回车始终是点击『默认』按钮,就是整体高亮的那个。
    lunacory
        7
    lunacory  
       Apr 2, 2015
    @sheephe OS X的确认习惯用space键
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4931 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 80ms · UTC 05:43 · PVG 13:43 · LAX 22:43 · JFK 01:43
    ♥ Do have faith in what you're doing.