{"id":418644,"date":"2021-03-12T10:26:55","date_gmt":"2021-03-12T02:26:55","guid":{"rendered":"http:\/\/4563.org\/?p=418644"},"modified":"2021-03-12T10:26:55","modified_gmt":"2021-03-12T02:26:55","slug":"mac-%e7%9a%84%e8%87%aa%e5%8a%a8%e6%93%8d%e4%bd%9c%ef%bc%8c%e5%8f%af%e4%bb%a5%e5%85%b1%e4%ba%ab%e4%b8%80%e6%b3%a2%e5%90%97%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=418644","title":{"rendered":"Mac \u7684\u81ea\u52a8\u64cd\u4f5c\uff0c\u53ef\u4ee5\u5171\u4eab\u4e00\u6ce2\u5417\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  Mac \u7684\u81ea\u52a8\u64cd\u4f5c\uff0c\u53ef\u4ee5\u5171\u4eab\u4e00\u6ce2\u5417\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : doudou1523102 <\/span>  <span><i><\/i> 2<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u6700\u8fd1\u53d1\u73b0\u81ea\u52a8\u64cd\u4f5c\u8fd9\u4e2a\u795e\u5668\uff0c\u6bd4\u5982\u590d\u5236\u6587\u4ef6\u5939\u7684\u8def\u5f84\uff0c\u53f3\u952e\u521b\u5efa\u6587\u4ef6 \u53ef\u4ee5\u5171\u4eab\u4e00\u4e0b\u5927\u5bb6\u7684\u81ea\u52a8\u64cd\u4f5c\u5417\uff1f #\u5de5\u4f5c\u6548\u7387 #Mac<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>18<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5577653\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : linwenzhi0528 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8e72\u4e00\u4e2a\u5927\u4f6c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5577654\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : chonger <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u60ed\u6127\uff0c\u7528 mac \u5341\u51e0\u5e74\uff0c\u4ece\u6765\u4e0d\u77e5\u9053\u8fd9\u73a9\u610f\u600e\u4e48\u7528\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5577655\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : kkkkkrua <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             on run {input, parameters}<br \/> set randomNumber to (random number from 100 to 270)<br \/> delay randomNumber<br \/> tell application &#8220;System Events&#8221;<br \/> key code 59<br \/> end tell<br \/> return input<br \/>end run<\/p>\n<p>do not Lock Screen \u8fdc\u7a0b\u516c\u53f8\u6478\u9c7c\u7684                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5577656\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : arare <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             automator \u9650\u5236\u8fd8\u662f\u633a\u591a\u7684\uff0c\u8fd0\u884c\u901f\u5ea6\u4e5f\u4e0d\u7406\u60f3<br \/>\u4e00\u822c\u6211\u5c31\u7528\u6765\u8865\u5145\u7f3a\u5931\u7684\u5feb\u6377\u952e\u64cd\u4f5c\uff0c\u63d0\u9ad8\u6548\u7387                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5577657\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : oldjerry <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e00\u76f4\u77e5\u9053\u8fd9\u529f\u80fd\uff0c\u4e5f\u6ca1\u53d1\u73b0\u4ec0\u4e48\u7279\u522b\u6709\u7528\u7684\u64cd\u4f5c\u3002\u5b69\u5b50\u5728\u5bb6\u4e0a\u7f51\u8bfe\u7684\u65f6\u5019\uff0c\u7ecf\u5e38\u8981\u628a\u8001\u5e08\u53d1\u7684 word \u8f6c\u6210 pdf \u5b58\u5230 iPad \u4e0a\u7528\uff0c\u5728\u7f51\u4e0a\u6284\u4e86\u4e2a\u8f6c\u6362\u7684\u64cd\u4f5c\uff0c\u7701\u7684\u6bcf\u6b21\u6253\u5f00 word \u9009\u53e6\u5b58\u4e86\u3002<\/p>\n<p>on run {input, parameters} <br \/> set theOutput to {} <br \/> tell application &#8220;Microsoft Word&#8221;<br \/> launch <br \/> repeat with thefile in input <br \/>  open thefile <br \/> set pdfPath to my makeNewPath(thefile) <br \/> set theActiveDoc to the active document <br \/> save as theActiveDoc file format format PDF file name pdfPath<br \/> close theActiveDoc saving no <br \/> end repeat <br \/> quit<br \/> end tell <br \/> return theOutput<br \/>end run<\/p>\n<p>on makeNewPath(f) <br \/> set d to f as string <br \/> if d ends with &#8220;.docx&#8221; then <br \/> return (text 1 thru -5 of d) &amp; &#8220;pdf&#8221; <br \/> else if d ends with &#8220;.doc&#8221; then <br \/> return (text 1 thru -4 of d) &amp; &#8220;pdf&#8221; <br \/> else <br \/> return d &amp; &#8220;.pdf&#8221; <br \/> end if<br \/>end makeNewPath                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5577658\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Dvel <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u590d\u5236\u6587\u4ef6\u5939\u7684\u8def\u5f84\u7528\u4e0d\u7740\u81ea\u52a8\u64cd\u4f5c\uff0cCmd + Option + C \u5c31\u590d\u5236\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5577659\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : VpChris <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8bf4\u4e0d\u4e0a\u5171\u4eab\u65b9\u6848 (\u56e0\u4e3a\u6211\u89c9\u5f97\u80af\u5b9a\u6709\u6bd4\u6211\u597d\u7684<br \/>\u7ed9\u70b9\u601d\u8def\u628a:<br \/>1. \u81ea\u52a8\u628a PDF \u8f6c JPG (\u591a\u5c11\u9875\u5c31\u51fa\u591a\u5c11\u4e2a Jpg. <br \/>2. \u7ed3\u5408 folder action \u628a\u6587\u4ef6\u5939\u91cc\u9762\u65b0\u589e\u7684\u6587\u4ef6\u8bbe\u4e00\u4e2a\u63d0\u9192 (\u4ee5\u8bb0\u5f97\u770b \u6211\u81ea\u5df1\u7684\u7528\u6cd5\u662f\u76d1\u63a7\u7740\u4e24\u4e2a\u6587\u4ef6\u5939, \u4e00\u4e2a\u81ea\u52a8\u540c\u6b65\u767e\u5ea6\u4e91 \u4e00\u4e2a google drive, \u6709\u65b0\u6587\u4ef6\u5c31\u5728 reminder \u91cc\u9762\u65b0\u589e\u4e00\u4e2a reminder \u7136\u540e\u4f9d\u8d56 omnifocus \u7684 ios \u7aef capture, \u628a\u8fd9\u4e9b\u63d0\u9192\u5f04\u8fdb\u6765 omnifocus<\/p>\n<p> 3. \u4e4b\u524d\u8fd8\u66fe\u7ecf\u7528 automator \u6765\u505a\u4e00\u4e2a quit all app (\u4ec5\u4fdd\u7559\u60f3\u4fdd\u7559\u7684) \u540e\u6765\u7528 alfred \u7684\u4e00\u4e2a workflow \u4ee3\u66ff\u4e86<br \/>4. word -&gt; PDF 5 \u6709\u7ed9\u8fd9\u4e2a\u65b9\u6848.                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5577660\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : qlqsh <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6279\u91cf\u91cd\u547d\u540d\u3002\u76f4\u63a5 Finder \u91cc\u7684\u64cd\u4f5c\uff0c\u53ef\u4ee5\u81ea\u5b9a\u4e49\u4e3a\u81ea\u5df1\u5e38\u7528\u7684\u65b9\u5f0f\u3002<\/p>\n<p>\u663e\u793a\uff08\/\u9690\u85cf\uff09\u6240\u6709\u9690\u85cf\u6587\u4ef6<br \/>STATUS=`defaults read com.apple.finder AppleShowAllFiles` <br \/>if [ $STATUS == YES ]<br \/>then <br \/>defaults write com.apple.finder AppleShowAllFiles NO <br \/>else <br \/>defaults write com.apple.finder AppleShowAllFiles YES <br \/>fi <br \/>killall Finder                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5577661\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Elethom <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5927\u90e8\u5206\u90fd\u662f\u5b9a\u65f6\u8fd0\u884c\u7684\uff0c\u624b\u52a8\u89e6\u53d1\u7684\u5c31\u53ea\u7528\u4e86\u4e00\u4e2a\u5feb\u6377\u952e\u81ea\u52a8\u70b9 notification \u7684\u56de\u590d\u6309\u94ae\u3002\u5176\u5b9e\u5f88\u591a\u4e1c\u897f\u7528 shell script \u66f4\u65b9\u4fbf\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5577662\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Elethom <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @qlqsh <br \/>Command Shift . \u5c31\u53ef\u4ee5\u663e\u793a\u9690\u85cf\u6587\u4ef6\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5577663\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : qlqsh <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Elethom \u77e5\u9053\u3002\u8fd9\u4e0d\u662f\u8981\u8bb0\u5feb\u6377\u952e\u561b\u3002\u5355\u72ec\u7684\u51e0\u4e2a\u8fd8\u884c\u3002\u591a\u4e86\u771f\u7684\u5c31\u8bb0\u4e0d\u4f4f\u4e86\u3002\u8fd9\u53ef\u4ee5\u76f4\u63a5\u5728\u53f3\u952e\u91cc\uff0c\u6bd4\u8f83\u76f4\u89c2\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5577664\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Elethom <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @qlqsh <br \/>Folder Actions \u662f\u633a\u65b9\u4fbf\u5566\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5577665\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : yitingbai <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Dvel \u5b66\u5230\u4e86, \u679c\u7136\u53ef\u4ee5                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5577666\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Emrys365 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6279\u91cf\u5220\u9664 PowerPoint \u5f53\u524d\u6f14\u793a\u6587\u7a3f\u4e2d\u7684\u5907\u6ce8\uff1a https:\/\/gist.github.com\/Emrys365\/f1a6a8567086d4cbdf340e6a8cb173a7 <button onclick=\"lazyGist(this)\">\u00a0\u663e\u793a Gist \u4ee3\u7801\u00a0<\/button> <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5577667\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jimliang <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             https:\/\/github.com\/raycast\/script-commands\/tree\/master\/commands                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5577668\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : doudou1523102 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Dvel \u662f\u7684\uff0c\u4f46\u662f\u6211\u6709\u4e00\u4e2a\u7c98\u8d34\u7248\u7684\u5de5\u5177\u5feb\u6377\u952e\u51b2\u7a81\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5577669\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : doudou1523102 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Dvel \u6211\u7528\u6587\u4ef6\u8def\u5f84\u662f\u4e3a\u4e86 \u5728 iterm \u4e2d\u7c98\u8d34\u8def\u5f84\uff0c\u8fd9\u4e2a\u6bd4\u8f83\u65b9\u4fbf                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5577670\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : strongcoder <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @doudou1523102 #17 \u7ec8\u7aef\u8def\u5f84\u95ee\u9898\u7528 Go2shell \u66f4\u65b9\u4fbf \u4f60\u8bd5\u8bd5                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>Mac \u7684\u81ea\u52a8\u64cd\u4f5c\uff0c\u53ef\u4ee5\u5171\u4eab\u4e00\u6ce2\u5417&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\/418644"}],"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=418644"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/418644\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=418644"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=418644"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=418644"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}