{"id":230129,"date":"2020-12-21T03:03:07","date_gmt":"2020-12-20T19:03:07","guid":{"rendered":"http:\/\/4563.org\/?p=230129"},"modified":"2020-12-21T03:03:07","modified_gmt":"2020-12-20T19:03:07","slug":"mac-%e4%b8%8b-airpods-pro-%e5%88%87%e6%8d%a2%e9%99%8d%e5%99%aa%e6%93%8d%e4%bd%9c%e5%a6%82%e4%bd%95%e8%ae%be%e7%bd%ae%e5%bf%ab%e6%8d%b7%e9%94%ae%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=230129","title":{"rendered":"Mac \u4e0b AirPods Pro \u5207\u6362\u964d\u566a\u64cd\u4f5c\u5982\u4f55\u8bbe\u7f6e\u5feb\u6377\u952e\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  Mac \u4e0b AirPods Pro \u5207\u6362\u964d\u566a\u64cd\u4f5c\u5982\u4f55\u8bbe\u7f6e\u5feb\u6377\u952e\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : leeum <\/span>  <span><i><\/i> 5<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u6ca1\u6709\u83dc\u5355\u680f\uff0c\u5bfc\u81f4\u6ca1\u6cd5\u901a\u8fc7 App \u5feb\u6377\u952e\u8bbe\u7f6e<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>11<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4720646\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : gps949 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             AirBuddy                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4720647\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : GZK007 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u84dd\u7259\u70b9\u4e00\u4e0b\u4e0d\u662f\u6709\u4e09\u4e2a\u6a21\u5f0f\u5417                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4720648\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : leeum <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @GZK007 \u60f3\u8bbe\u7f6e\u6210\u5feb\u6377\u952e\uff0c\u65b9\u4fbf\u4e00\u952e\u5207\u6362\uff0c\u9f20\u6807\u53bb\u70b9\u51fb\u611f\u89c9\u592a\u6162\u54c8\u3002\u6bd4\u5982\u6709\u7684\u65f6\u5019\u5f00\u7740\u964d\u566a\u542c\u4e1c\u897f\uff0c\u6709\u540c\u4e8b\u8bf4\u53e5\u8bdd\uff0c\u70b9\u51fb\u64cd\u4f5c\u5c31\u592a\u4f4e\u6548\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4720649\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : PerFectTime <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8bd5\u4e00\u4e0b\u8fd9\u4e2a\u4ee3\u7801<\/p>\n<p>Apple Script<\/p>\n<p>tell application &#8220;System Events&#8221;<br \/> tell process &#8220;SystemUIServer&#8221;<br \/> click (menu bar item 1 of menu bar 1 whose description contains &#8220;volume&#8221;)<br \/> try<br \/> click menu item &#8220;nestim AirPods Pro&#8221; of menu 1 of result<br \/> if value of attribute &#8220;AXMenuItemMarkChar&#8221; of menu item &#8220;Transparency&#8221; of menu 1 of result is &#8220;\u2713&#8221; then<br \/> click menu item &#8220;Noise Cancellation&#8221; of menu 1 of result<br \/> return &#8220;Noise Cancellation active&#8221;<br \/> else<br \/> click menu item &#8220;Transparency&#8221; of menu 1 of result<br \/> return &#8220;Transparency mode active&#8221;<br \/> end if<br \/> on error<br \/> tell application &#8220;System Events&#8221;<br \/> key code 53<br \/> end tell<br \/> end try<br \/> end tell<br \/>end tell<\/p>\n<p>\u6765\u6e90\uff1a<br \/>https:\/\/www.reddit.com\/r\/AirpodsPro\/comments\/e6y2av\/applescript_to_switch_between_noise_cancellation\/                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4720650\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : PerFectTime <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             nestim AirPods Pro \u6362\u6210\u4f60\u7684 AirPods \u540d\u79f0                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4720651\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : PerFectTime <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8bd5\u4e86\u4e00\u4e0b\uff0c\u4e0b\u9762\u8fd9\u4e2a\u9a8c\u8bc1\u662f\u53ef\u7528\u7684<\/p>\n<p>set AIRPODS_PRO_NAME to &#8220;\u4f60\u7684 AirPods Pro&#8221;<br \/>set ANC to &#8220;\u964d\u566a&#8221;<br \/>set TRANSPARENCY to &#8220;\u901a\u900f\u6a21\u5f0f&#8221;<\/p>\n<p>tell application &#8220;System Events&#8221;<br \/> tell process &#8220;SystemUIServer&#8221;<br \/> tell (menu bar item 1 of menu bar 1 whose description begins with &#8220;volume&#8221;) &#8212; find volume menu bar item<br \/> click<br \/> delay 0.1<br \/> tell (menu item 1 of menu 1 whose name contains AIRPODS_PRO_NAME) &#8212; find airpods menu item<br \/> click<br \/> tell menu 1 &#8212; open airpods menu<br \/> if value of attribute &#8220;AXMenuItemMarkChar&#8221; of menu item ANC is missing value then<br \/> click menu item ANC &#8212; switch to ANC<br \/> else<br \/> click menu item TRANSPARENCY &#8212; switch to Transparency<br \/> end if<br \/> end tell<br \/> end tell<br \/> end tell<br \/> end tell<br \/>end tell<\/p>\n<p>\u6765\u6e90 https:\/\/www.reddit.com\/r\/applescript\/comments\/hk2hh1\/script_to_switch_airpods_pro_mode\/                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4720652\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : windirt <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53d6\u4e0b\u8033\u673a\u6765\uff0c\u53c8\u5feb\u53c8\u6709\u793c\u8c8c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4720653\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : gps949 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @windirt <br \/>\u5173\u4e8e\u6234\u7740\u8033\u673a\uff08\u652f\u6301\u901a\u900f\u6a21\u5f0f\u7684\uff09\u662f\u5426\u793c\u8c8c\u8fd9\u4ef6\u4e8b\uff0c\u8ba9\u6211\u60f3\u5230\u4e00\u4e2a\u95ee\u9898\uff0c\u6700\u5f00\u59cb\u51fa\u73b0\u773c\u955c\u65f6\uff0c\u662f\u4e0d\u662f\u4e5f\u662f\u6234\u7740\u773c\u955c\u8ddf\u4eba\u8bf4\u8bdd\u4e0d\u793c\u8c8c\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4720654\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : JerryChan31 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @gps949 \u6211\u89c9\u5f97\u773c\u955c\u4e0d\u80fd\u4f5c\u4e3a\u6070\u5f53\u7684\u7c7b\u6bd4\uff0c\u6234\u7740\u964d\u566a\u8033\u673a\u522b\u4eba\u6ca1\u6709\u529e\u6cd5\u786e\u8ba4\u4f60\u662f\u4e0d\u662f\u6709\u5728\u542c\u4ed6\u8bf4\u8bdd\uff0c\u4f46\u6234\u773c\u955c\u4e0d\u59a8\u788d\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4720655\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xinbaqiu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @JerryChan31 \u8fd9\u4e2a\u5224\u65ad\u7684\u524d\u63d0\u5982\u679c\u662f\u6234\u7740\u8033\u673a\u548c\u522b\u4eba\u8bf4\u8bdd\u7136\u540e\u5bfc\u81f4\u6ca1\u542c\u6e05\uff0c\u9700\u8981\u5bf9\u65b9\u91cd\u590d\u4e00\u6b21\uff0c\u90a3\u53ef\u80fd\u4f1a\u6709\u70b9\u4e0d\u793c\u8c8c\u3002\u4f46\u662f\u5982\u679c\u80fd\u542c\u6e05\u695a\u4e0d\u59a8\u788d\u6c9f\u901a\uff0c\u90a3\u4e48\u6234\u4e0e\u4e0d\u6234\u5e94\u8be5\u4e5f\u6ca1\u6709\u5dee\u522b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4720656\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Augoror <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @gps949 \u6234\u773c\u955c\u662f\u63d0\u5347\u89c6\u529b\uff0c\u6234\u8033\u673a\u662f\u964d\u4f4e\u542c\u529b\u3002\u786c\u8981\u5bf9\u6bd4\u7684\u8bdd\u5e94\u8be5\u662f\u6458\u4e0b\u773c\u955c\u770b\u4eba\u662f\u4e0d\u662f\u4e0d\u793c\u8c8c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>Mac \u4e0b AirPods Pro&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/230129"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=230129"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/230129\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=230129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=230129"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=230129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}