{"id":39248,"date":"2023-05-02T13:54:08","date_gmt":"2023-05-02T17:54:08","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=39248"},"modified":"2023-05-03T09:54:09","modified_gmt":"2023-05-03T13:54:09","slug":"fn-key-reserved-for-system-applications","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2023\/05\/02\/fn-key-reserved-for-system-applications\/","title":{"rendered":"fn Key Reserved for System Applications"},"content":{"rendered":"<p><a href=\"https:\/\/twitter.com\/tperfitt\/status\/1456030663346425860\">Timothy Perfitt<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/tperfitt\/status\/1456030663346425860\">\n<p>I saw on Monty that fn-q brings up a new note. So what other shortcuts use the fn key?<\/p>\n<ul><li>fn-a: activates item in dock so you can arrow around and space to launch app<\/li>\n<li>fn-n: open sidebar<\/li>\n<li>fn-c: open control center<\/li>\n<li>fn-h: show desktop<\/li>\n<li>fn-q: new note<\/li><\/ul>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/Bearzooka\/status\/1456183276440334336\">Bearzooka<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/Bearzooka\/status\/1456183276440334336\">\n<ul><li>fn-e: emoji board<\/li>\n<li>fn-d: dictation<\/li><\/ul>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/petermaurer\/status\/1456011200425308165\">Peter Maurer<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/petermaurer\/status\/1456011200425308165\"><p>Today in Apple continuing to lock things down:<\/p><p>macOS uses fn for menu item key equivalents now (e.g., fn-F for full screen), but fn is private. You can&rsquo;t assign it as a user via System Preferences, and developers can&rsquo;t assign it to menu items in their apps either. All you get is a T-shirt that says: &ldquo;<code>NSEventModifierFlagFunction<\/code> [&#8230;] is only supported for\nsystem-provided menu items; will not be used&rdquo;<\/p><p>I get Apple&rsquo;s desire for consistency, but it&rsquo;s a pain when you&rsquo;re trying to mimic a system-provided menu item. Cue the silly workaround[&#8230;]<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/krzyzanowskim\/status\/1644070064738521090\">Marcin Krzyzanowski<\/a> notes that the <code>EventModifiers.function<\/code> symbol is <a href=\"https:\/\/developer.apple.com\/documentation\/swiftui\/eventmodifiers\/function\">deprecated<\/a>:<\/p>\n<blockquote cite=\"https:\/\/developer.apple.com\/documentation\/swiftui\/eventmodifiers\/function\"><p>This key modifier is reserved for system applications.<\/p><\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2017\/12\/07\/the-magic-keyboard-with-numeric-keypad-is-apparently-bendy\/\">The Magic Keyboard With Numeric Keypad Is Apparently Bendy<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2020\/07\/21\/return-and-enter-are-two-different-keys\/\">Return and Enter Are Two Different Keys<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2017\/03\/08\/sierra-bluetooth-problems-and-the-logitech-k811-keyboard\/\">Sierra Bluetooth Problems and the Logitech K811 Keyboard<\/a><\/li>\n<\/ul>\n\n<p id=\"fn-key-reserved-for-system-applications-update-2023-05-03\">Update (2023-05-03): <a href=\"https:\/\/mastodon.social\/@bwebster\/110300413601468553\">Brian Webster<\/a>:<\/p>\n<blockquote cite=\"https:\/\/mastodon.social\/@bwebster\/110300413601468553\">\n<p>I love how fn-c brings up Control Center after which you can do absolutely nothing because Control Center has no keyboard navigation support itself. &#x1F926;&#x200D;&#x2642;&#xFE0F;<\/p>\n<\/blockquote>\n<p>Even the associated standalone menus lost keyboard support when they were rewritten using SwiftUI in Big Sur.<\/p>","protected":false},"excerpt":{"rendered":"<p>Timothy Perfitt: I saw on Monty that fn-q brings up a new note. So what other shortcuts use the fn key? fn-a: activates item in dock so you can arrow around and space to launch app fn-n: open sidebar fn-c: open control center fn-h: show desktop fn-q: new note Bearzooka: fn-e: emoji board fn-d: dictation [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2023-05-02T17:54:10Z","apple_news_api_id":"c36eafa5-902f-4341-aa34-a2ba6b8d2b52","apple_news_api_modified_at":"2023-05-03T13:54:12Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAA==","apple_news_api_share_url":"https:\/\/apple.news\/Aw26vpZAvQ0GqNKK6a40rUg","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[1569,125,30,2077,2223,71,1812],"class_list":["post-39248","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-control-center","tag-keyboardshortcuts","tag-mac","tag-macos-12","tag-macos-13-ventura","tag-programming","tag-swiftui"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/39248","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=39248"}],"version-history":[{"count":3,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/39248\/revisions"}],"predecessor-version":[{"id":39256,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/39248\/revisions\/39256"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=39248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=39248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=39248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}