{"id":38,"date":"2016-09-14T13:42:30","date_gmt":"2016-09-14T05:42:30","guid":{"rendered":"http:\/\/45.76.100.195\/?p=38"},"modified":"2016-09-14T13:42:30","modified_gmt":"2016-09-14T05:42:30","slug":"%e5%9f%ba%e6%9c%ac%e7%94%a8%e6%88%b7%e4%ba%a4%e4%ba%92","status":"publish","type":"post","link":"https:\/\/www.carnica.cn\/?p=38","title":{"rendered":"\u57fa\u672c\u7528\u6237\u4ea4\u4e92"},"content":{"rendered":"<p>AppleScript\u4e2d\u57fa\u672c\u7684\u7528\u6237\u4ea4\u4e92----\u4e3b\u8981\u662f\u5bf9\u8bdd\u6846\u3002 \u5728\u5f00\u59cb\u5177\u4f53\u5185\u5bb9\u4e4b\u524d\uff0c\u6709\u5fc5\u8981\u8bf4\u660e\u4e00\u70b9\uff1a\u5e38\u89c4\u7684AppleScript\u811a\u672c\u5e76\u4e0d\u5305\u62ec\u7528\u6237\u754c\u9762\uff08UI\uff09\uff0c\u56e0\u6b64\u672c\u7ae0\u4ecb\u7ecd\u7684\u7528\u6237\u4ea4\u4e92\u5176\u5b9e\u90fd\u662f\u7b80\u5355\u7684\u5bf9\u8bdd\u6846\u6216\u8005\u7cfb\u7edf\u9762\u677f\u3002<br \/>\nAppleScript\u81ea\u5e26\u7684\u7528\u6237\u4ea4\u4e92\u529f\u80fd\u5168\u90e8\u5305\u62ec\u4e8eAppleScript\u5b57\u5178\u4e2dStandard Addition\u4e0bUser Interaction\u7c7b\u3002<\/p>\n<h2>\u7b80\u5355\u5bf9\u8bdd\u6846\u548c\u8f93\u5165\u6846<\/h2>\n<h4>Display Dialog\u547d\u4ee4<\/h4>\n<p>\u5bf9\u4e8e\u8fd9\u4e2a\u57fa\u672c\u7684\u5bf9\u8bdd\u6846\uff0c\u5b83\u6700\u7b80\u5355\u7684\u683c\u5f0f\u662f\uff1a<\/p>\n<pre><code>display dialog \"\u5bf9\u8bdd\u6846\u5305\u542b\u7684\u5185\u5bb9\"\r\n<\/code><\/pre>\n<p>\u6b64\u547d\u4ee4\u5c06\u663e\u793a\u4e00\u4e2a\u6307\u5b9a\u6587\u5b57\u7684\u3001\u62e5\u6709\u201c\u786e\u8ba4\u201d\u548c\u201c\u53d6\u6d88\u201d\u6309\u94ae\u7684\u5bf9\u8bdd\u6846\uff0c\u5e76\u4e14\u201c\u786e\u8ba4\u201d\u6309\u94ae\u662f\u9ed8\u8ba4\u6309\u94ae\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\u770b\u4e00\u4e2a\u8f83\u4e3a\u5b8c\u6574\u7684\u5bf9\u8bdd\u6846\uff1a<\/p>\n<pre><code>display dialog \"\u8fd9\u662f\u4e00\u4e2a\u5bf9\u8bdd\u6846\" buttons {\"\u597d\u7684\",\"\u660e\u767d\"} default button \"\u597d\u7684\" with title \"\u6807\u9898\" with icon note giving up after 5\r\n<\/code><\/pre>\n<p>\u4e0a\u8ff0\u4e24\u4f8b\u5982\u56fe\uff1a \u5de6--\u7b80\u5355\u683c\u5f0f \u3001\u53f3--\u5b8c\u6574\u683c\u5f0f<br \/>\n<img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/i1.buimg.com\/567571\/297c4f8900784ae8.png\" alt=\"\" width=\"600\" height=\"100\" \/><br \/>\n<strong>\u5177\u4f53\u7684\u53c2\u6570\u4ecb\u7ecd\u5982\u4e0b<\/strong>\uff1a<\/p>\n<ul class=\" list-paddingleft-2\">\n<li><code>buttons<\/code>\u00a0\u7d27\u8ddfList\u578b\u53c2\u6570\uff0c\u6307\u5b9a\u5bf9\u8bdd\u6846\u62e5\u6709\u7684\u6309\u94ae\u540d\u79f0\uff0c\u6ce8\u610f\u6700\u591a\u4e3a\u4e09\u4e2a<\/li>\n<li><code>default button<\/code>\u00a0\u7d27\u8ddftext\u578b\u53c2\u6570\u7684\u67d0\u4e00\u4e2a\u6309\u94ae\u540d\u79f0\uff0c\u8bbe\u5b9a\u9ed8\u8ba4\u6309\u94ae<\/li>\n<li><code>with title<\/code>\u00a0\u7d27\u8ddftext\uff0c\u6307\u5b9a\u5bf9\u8bdd\u6846\u7684\u6807\u9898\uff08\u7701\u7565\u65f6\u65e0\u6807\u9898\uff09<\/li>\n<li><code>with icon<\/code>\u00a0\u7d27\u8ddfstop\/note\/caution\u4e2d\u7684\u4e00\u4e2a\u6216\u8005file\u7c7b\u578b\u7684\u8def\u5f84\uff0c\u6307\u5b9a\u663e\u793a\u7684\u56fe\u6807<\/li>\n<li><code>giving up after<\/code>\u00a0\u7d27\u8ddfnumber\u578b\u7684\u6574\u6570\uff0c\u6307\u5b9a\u5728number\u79d2\u540e\u81ea\u52a8\u6d88\u5931\u5bf9\u8bdd\u6846<\/li>\n<\/ul>\n<h4>\u5e26\u6709\u8f93\u5165\u6846\u7684\u5bf9\u8bdd\u6846<\/h4>\n<p>\u8981\u60f3\u5b9e\u73b0\u8f93\u5165\u529f\u80fd\uff0c\u540c\u6837\u53ef\u4ee5\u7528Display Dialog\u547d\u4ee4\uff0c\u793a\u4f8b\u5982\u4e0b\uff1a<\/p>\n<pre><code>display dialog \"\u5e26\u6709\u8f93\u5165\u6846\u7684\u5bf9\u8bdd\u6846\" default answer \"\u9ed8\u8ba4\u56de\u7b54\"\r\n<\/code><\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/i4.buimg.com\/567571\/67a5e07da96ecbdd.png\" alt=\"\" width=\"300\" height=\"100\" \/><\/p>\n<p>\u53ea\u9700\u8981\u6dfb\u52a0<strong>default answer\uff08+text\uff09<\/strong>\u5c31\u53ef\u4ee5\u4f7f\u666e\u901a\u5bf9\u8bdd\u6846\u5347\u7ea7\u4e3a\u8f93\u5165\u6846\u3002 \u5176\u4e2dtext\u53ef\u4ee5\u7528\u7a7a\u6587\u672c\uff08\u76f4\u63a5\u8f93\u5165\u4e24\u4e2a\u5f15\u53f7\uff09\uff1b \u6dfb\u52a0\u00a0<strong>hidden answer true<\/strong>\u00a0\u547d\u4ee4\uff0c\u53ef\u4ee5\u9690\u85cf\u8f93\u5165\u6587\u672c\uff08\u8f93\u5165\u5bc6\u7801\u65f6\u7528\uff09\u3002 \u6b64\u5916\uff0c\u524d\u9762\u4ecb\u7ecd\u7684\u5173\u4e8e\u7b80\u5355\u5bf9\u8bdd\u7684\u51e0\u4e2a\u53c2\u6570\u4ecd\u7136\u53ef\u7528\u3002<\/p>\n<p>\u5728OSX 10.11\u4e2d\u7684\u5f62\u5f0f\uff1a<\/p>\n<pre><code> \u00a0display dialog \"\u5e26\u6709\u8f93\u5165\u6846\u7684\u5bf9\u8bdd\u6846\" default answer \"\" with hidden answer\r\n<\/code><\/pre>\n<p>\u6548\u679c\uff1a<br \/>\n<img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/i4.buimg.com\/567571\/5a7c9b75561f6478.png\" alt=\"\" width=\"300\" height=\"100\" \/><\/p>\n<h4>\u5bf9\u8bdd\u6846\u7684\u8fd4\u56de\u503c<\/h4>\n<p>\u4e3a\u4e86\u786e\u5b9a\u7528\u6237\u8f93\u5165\u7684\u6587\u672c\u548c\u6309\u4e0b\u7684\u6309\u94ae\uff0c\u6211\u4eec\u9700\u8981\u901a\u8fc7\u5bf9\u8bdd\u6846\u7684\u8fd4\u56de\u503c\u6765\u5b9e\u73b0\u3002<br \/>\ndisplay dialog\u547d\u4ee4\u7684\u8fd4\u56de\u503c\u603b\u662f\u4e00\u4e2aRecord\uff0c\u901a\u5e38\u5305\u542b\u4e0b\u9762\u51e0\u9879\u7684\u4e00\u4e2a\u6216\u591a\u4e2a\uff1a<\/p>\n<ul class=\" list-paddingleft-2\">\n<li><code>text returned<\/code>\u00a0\u7528\u6237\u8f93\u5165\u7684\u6587\u672c<\/li>\n<li><code>button returned<\/code>\u00a0\u7528\u6237\u6309\u4e0b\u7684\u6309\u94ae\u7684\u540d\u79f0\uff08\u5373\u663e\u793a\u7684\u540d\u79f0\uff09<\/li>\n<li><code>gave up<\/code>\u00a0\u662f\u5426\u81ea\u52a8\u8d85\u65f6\u6d88\u5931\uff08\u548cgiving up after\u547d\u4ee4\u76f8\u5e94\uff09<\/li>\n<\/ul>\n<h2>\u8b66\u544a\u5bf9\u8bdd\u6846<\/h2>\n<p>\u8b66\u544a\u5bf9\u8bdd\u6846\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u975e\u5e38\u63a5\u8fd1\u7b80\u5355\u5bf9\u8bdd\u6846\uff0c\u6765\u770b\u4e00\u4e0b\u5b83\u7684\u7279\u8272\u8bed\u6cd5\uff1a<\/p>\n<pre><code>display alert \"\u8fd9\u662f\u4e00\u4e2a\u8b66\u544a\" message \"\u8b66\u544a\u7684\u4fe1\u606f\" as critical\r\n\r\n\u5176\u4e2d\uff1a \u00a0message \u53c2\u6570\u6307\u5b9a\u4e86\u8865\u5145\u4fe1\u606f\uff08\u5728\u5bf9\u8bdd\u6846\u4e2d\u4ee5\u5c0f\u5b57\u663e\u793a\uff09\r\n \u00a0 \u00a0 \u00a0 as warning\/critical\/informational \u6307\u5b9a\u4e86\u5bf9\u8bdd\u6846\u7684\u91cd\u8981\u6027\uff08\u8868\u9762\u4e0a\u770b\u8d77\u6765\u5c31\u662f\u56fe\u6807\u4e0d\u540c\uff09\r\n\u6b64\u5916\u53ef\u7528\u7b80\u5355\u5bf9\u8bdd\u6846\u4e2d\u7684buttons\uff08\u6307\u5b9a\u6309\u94ae\uff09\uff0cgive up after\uff08\u81ea\u52a8\u6d88\u5931\u65f6\u95f4\uff09\u53c2\u6570\u3002\r\n<\/code><\/pre>\n<p>\u6548\u679c\uff1a<br \/>\n<img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/i1.buimg.com\/567571\/3ac321f80cca7d87.png\" alt=\"\" width=\"300\" height=\"100\" \/><\/p>\n<h2>\u5217\u8868\u9009\u62e9\u5bf9\u8bdd\u6846<\/h2>\n<p>\u8fd9\u662f\u4e00\u4e2a\u7279\u6b8a\u5bf9\u8bdd\u6846\uff0c\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5217\u8868\u4f9b\u7528\u6237\u9009\u62e9\u3002 \u8bed\u6cd5\u5982\u4e0b\uff1a<\/p>\n<pre><code>choose from list {\"\u5907\u9009\u4e00\",\"\u5907\u9009\u4e8c\",\"\u5907\u9009\u4e09\"} with title \"\u8fd9\u662f\u4e00\u4e2a\u5217\u8868\u9009\u62e9\u6846\" with prompt \"\u8bf7\u505a\u51fa\u9009\u62e9\" default items {\"\u5907\u9009\u4e8c\"} with empty selection allowed and multiple selections allowed\r\n\r\n\u53c2\u6570\u8bf4\u660e\uff1a\r\n \u00a0 \u00a0\u76f4\u63a5\u53c2\u6570 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u7d27\u8ddfList\u7c7b\u578b\u53c2\u6570\uff0c\u5305\u542b\u6240\u6709\u5907\u9009\u9879\r\n \u00a0 \u00a0title \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u7d27\u8ddftext\uff0c\u6307\u5b9a\u9009\u62e9\u6846\u7684\u6807\u9898\r\n \u00a0 \u00a0prompt \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u7d27\u8ddftext\uff0c\u6307\u5b9a\u63d0\u793a\u4fe1\u606f\r\n \u00a0 \u00a0default items \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u7d27\u8ddfList\uff0c\u6307\u5b9a\u9ed8\u8ba4\u9009\u62e9\u7684\u9879\u76ee\r\n \u00a0 \u00a0empty selection allowed \u00a0 \u00a0 \u00a0 \u00a0 \u7d27\u8ddftrue\uff0c\u8868\u793a\u5141\u8bb8\u4e0d\u9009\r\n \u00a0 \u00a0multiple selections allowed \u00a0 \u00a0 \u7d27\u8ddftrue\uff0c\u8868\u793a\u5141\u8bb8\u591a\u9009\r\n<\/code><\/pre>\n<p>\u6548\u679c\uff1a<br \/>\n<img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/i4.buimg.com\/567571\/02283b405b43ef45.png\" alt=\"\" width=\"240\" height=\"150\" \/><\/p>\n<h2>\u6587\u4ef6\u9009\u62e9\u5bf9\u8bdd\u6846<\/h2>\n<h4>\u9009\u53d6\u6587\u4ef6\u540d\u79f0 Choose File Name<\/h4>\n<p>\u8fd9\u4e2a\u5bf9\u8bdd\u6846\u5f88\u7c7b\u4f3c\u4e8e\u4e00\u822c\u8f6f\u4ef6\u7684\u53e6\u5b58\u4e3a\u5bf9\u8bdd\u6846\u3002\u8981\u6c42\u7528\u6237\u6307\u5b9a\u4e00\u4e2a\u5c06\u6765\u7528\u4e8e\u4fdd\u5b58\u4fe1\u606f\u7684\u6587\u4ef6\uff0c\u8bf7\u6ce8\u610f\uff0cChoose file name\u547d\u4ee4\u5e76\u4e0d\u4f1a\u521b\u5efa\u6587\u4ef6\uff0c\u5b83\u7684\u8fd4\u56de\u503c\u662ffile\u7c7b\u578b\u7684\uff0c\u5305\u542b\u5b8c\u6574\u8def\u5f84\u3002 \u5b8c\u6574\u8bed\u6cd5\u5982\u4e0b\uff1a<\/p>\n<pre><code>choose file name with prompt \"\u6307\u5b9a\u63d0\u793a\u4fe1\u606f\" default name \"\u9ed8\u8ba4\u540d\u79f0\" default location file \"Macintosh HD:Users\"\r\n\r\n\u5176\u4e2d\uff1a \u00a0 prompt \u6307\u5b9a\u63d0\u793a\u4fe1\u606f\uff1b\r\n \u00a0 \u00a0 \u00a0 \u00a0default name \u6307\u5b9a\u9ed8\u8ba4\u540d\u79f0\uff1b\r\n \u00a0 \u00a0 \u00a0 \u00a0default location \u6307\u5b9a\u9ed8\u8ba4\u5b58\u50a8\u4f4d\u7f6e\uff0c\u9700\u8981file\u7c7b\u578b\u7684\u53c2\u6570\uff1b\r\n \u00a0 \u00a0 \u00a0 \u00a0\u4e09\u4e2a\u53c2\u6570\u5747\u53ef\u4ee5\u7701\u7565\u3002\r\n<\/code><\/pre>\n<p>\u7ed3\u679c\uff1a<br \/>\n<img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/i1.buimg.com\/567571\/aea7c724cc39e42f.png\" alt=\"\" width=\"300\" height=\"150\" \/><\/p>\n<h4>\u9009\u53d6\u6587\u4ef6\u5939 Choose Folder<\/h4>\n<p>\u9009\u53d6\u6587\u4ef6\u5939\u5bf9\u8bdd\u6846\uff0c\u5b8c\u6574\u8bed\u6cd5\u5982\u4e0b\uff1a<\/p>\n<pre><code>choose folder with prompt \"\u6307\u5b9a\u63d0\u793a\u4fe1\u606f\" default location file \"Macintosh HD:Users\" with invisibles,multiple selections allowed and showing package contents\r\n\r\n\u5176\u4e2d\uff1a \u00a0 prompt \u548c default location \u53c2\u6570\u540cChoose File Name\uff1b\r\n \u00a0 \u00a0 \u00a0 \u00a0invisibles \u6307\u5b9a\u663e\u793a\u9690\u85cf\u6587\u4ef6\uff1b\r\n \u00a0 \u00a0 \u00a0 \u00a0multiple selections allowed \u53ef\u4ee5\u591a\u9009\uff1b\r\n \u00a0 \u00a0 \u00a0 \u00a0showing package contents \u663e\u793a\u5305\u5185\u5bb9\uff1b\r\n \u00a0 \u00a0 \u00a0 \u00a0\u4ee5\u4e0a\u53c2\u6570\u7701\u7565\u65f6\u5219\u4e0d\u663e\u793a\u9690\u85cf\u6587\u4ef6\/\u4e0d\u53ef\u591a\u9009\/\u4e0d\u663e\u793a\u5305\u5185\u5bb9\u3002\r\n<\/code><\/pre>\n<p><strong><em>choose folder\u547d\u4ee4\u8fd4\u56de\u503c\u4e3aalias\u6216\u8005\u662fList\uff08\u7531alias\u6784\u6210\uff0c\u5f53\u5141\u8bb8\u591a\u9009\u65f6\uff09<\/em><\/strong><\/p>\n<h4>\u9009\u53d6\u6587\u4ef6Choose File<\/h4>\n<p>\u9009\u53d6\u6587\u4ef6\u5bf9\u8bdd\u6846\u51e0\u4e4e\u548c\u9009\u53d6\u6587\u4ef6\u5939\u5bf9\u8bdd\u6846\u4e00\u6837\uff0c\u62e5\u6709\u51e0\u4e4e\u76f8\u540c\u7684\u53c2\u6570\u3001\u8bed\u6cd5\u548c\u8fd4\u56de\u503c\u7c7b\u578b\uff0c\u53ea\u662f\u591a\u4e86\u4e00\u4e2aof type\u53ef\u9009\u53c2\u6570\uff08\u540e\u52a0List\uff0clist\u4e2d\u5e94\u5305\u542b\u4e00\u4e2a\u6216\u591a\u4e2atext\uff0c\u6307\u5b9a\u5141\u8bb8\u9009\u62e9\u7684\u6587\u4ef6\u7c7b\u578b\uff09<\/p>\n<pre><code>choose file of type {\"txt\"}\r\n<\/code><\/pre>\n<p><strong><em>\u6ce8\u610f\uff1aChoose Folder\u6240\u6709\u7684\u53c2\u6570\uff0cChoose File\u547d\u4ee4\u4e5f\u53ef\u7528\u3002<\/em><\/strong><\/p>\n<h2>\u5176\u4ed6\u7528\u6237\u4ea4\u4e92<\/h2>\n<p>\u9664\u4e86\u4e0a\u8ff0\u6240\u8bf4\u7684\u51e0\u79cd\u5e38\u7528\u5bf9\u8bdd\u6846\u5916\uff0cAppleScript\u8fd8\u63d0\u4f9b\u4e86Choose color\u7528\u4e8e\u9009\u62e9\u989c\u8272\uff0c\u8fd4\u56de\u5305\u542bRGB\u4fe1\u606f\u7684List\uff0c\u8fd9\u4e2a\u5bf9\u8bdd\u6846\uff08\u66f4\u51c6\u786e\u7684\u8bf4\u662f\u9762\u677f\uff09\u548c\u6211\u4eec\u5728\u5176\u4ed6\u8f6f\u4ef6\uff0c\u5982Pages\u4e2d\u7684\u989c\u8272\u9009\u62e9\u9762\u677f\u662f\u5b8c\u5168\u4e00\u81f4\u7684\u3002<br \/>\n\u53e6\u5916\u8fd8\u6709\u4e00\u4e9b\u4e0d\u5e38\u7528\u7684\u5bf9\u8bdd\u6846\uff0c\u53ef\u81ea\u5df1\u9605\u8bfbAppleScript\u5b57\u5178\u3002<br \/>\n\u5173\u4e8e\u7528\u6237\u4ea4\u4e92\uff0c\u8fd8\u6709\u51e0\u4e2a\u7279\u6b8a\u7684\u547d\u4ee4\uff1a<code>beep<\/code>\u3001<code>delay<\/code>\u3001<code>say<\/code>\u3002\u8fd9\u4e09\u4e2a\u547d\u4ee4\u7528\u8d77\u6765\u90fd\u975e\u5e38\u7b80\u5355\uff1a<\/p>\n<ul class=\" list-paddingleft-2\">\n<li><code>beep<\/code>\u00a0\u540e\u63a5\u4e00\u4e2a\u6574\u6570\uff0c\u8ba9\u673a\u5668\u8702\u9e23n\u4e0b\uff0c\u5982\u679c\u7f3a\u7701\u6574\u6570\uff0c\u5c06\u4f1a\u53d1\u51fa\u4e00\u58f0\u3002<\/li>\n<li><code>delay<\/code>\u00a0\u540e\u63a5\u4e00\u4e2a\u6574\u6570\uff0c\u8ba9\u4ee3\u7801\u6682\u505cn\u79d2\uff0c\u5982\u679c\u7f3a\u7701\u6574\u6570\uff0c\u5c06\u4f1a\u6ca1\u6709\u610f\u4e49\u3002<\/li>\n<li><code>say<\/code>\u00a0\u540e\u63a5\u4e00\u4e2atext\uff0c\u8ba9\u7535\u8111\u8bfb\u7ed9\u4f60\u542c\u8fd9\u4e2a\u5355\u8bcd\u6216\u53e5\u5b50\u3002<strong><em>\u6ce8\u610f\uff1aMac OS\u53ea\u4f1a\u5ff5\u82f1\u6587<\/em><\/strong><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>AppleScript\u4e2d\u57fa\u672c\u7684\u7528\u6237\u4ea4\u4e92&#8212;-\u4e3b&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.carnica.cn\/index.php?rest_route=\/wp\/v2\/posts\/38"}],"collection":[{"href":"https:\/\/www.carnica.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.carnica.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.carnica.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.carnica.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=38"}],"version-history":[{"count":1,"href":"https:\/\/www.carnica.cn\/index.php?rest_route=\/wp\/v2\/posts\/38\/revisions"}],"predecessor-version":[{"id":39,"href":"https:\/\/www.carnica.cn\/index.php?rest_route=\/wp\/v2\/posts\/38\/revisions\/39"}],"wp:attachment":[{"href":"https:\/\/www.carnica.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=38"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.carnica.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=38"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.carnica.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}