V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
sunrisewestern
V2EX  ›  macOS

macos 13 Ventura

  •  
  •   sunrisewestern · 2022-12-22 00:43:19 +08:00 · 713 次点击
    这是一个创建于 463 天前的主题,其中的信息可能已经有所发展或是发生改变。

    快速切换 f1 ,f2, f3... 键功能

    之前用的别人提供的 applescript 代码

    tell application "System Preferences"
    	set current pane to pane "com.apple.preference.keyboard"
    end tell
    
    tell application process "System Preferences"
    	repeat until exists tab group 1 of window "Keyboard"
    	delay 0.5
    	end repeat
    	click radio button "Keyboard" of tab group 1 of window "Keyboard"
    	try
    		click checkbox "Use F1, F2, etc. keys as standard function keys on external keyboards" of tab group 1 of window "Keyboard"
    	end try
    	try
                    click checkbox "Use F1, F2, etc. keys as standard function keys" of tab group 1 of window "Keyboard"
            end try
    end tell
    tell application "System Preferences" to quit
    

    但 macos 13 设置里这个选项的位置变了,之前的不能用了,有大佬知道怎么改吗

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5561 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 01:38 · PVG 09:38 · LAX 18:38 · JFK 21:38
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.