{"id":2301,"date":"2013-09-16T16:05:00","date_gmt":"2013-09-16T08:05:00","guid":{"rendered":"http:\/\/www.zuola.com\/weblog\/2013\/09\/2301.htm"},"modified":"2013-09-16T16:05:00","modified_gmt":"2013-09-16T08:05:00","slug":"%e5%a6%82%e4%bd%95%e7%94%a8applescript%e5%86%99%e8%87%aa%e5%8a%a8%e6%8c%89%e5%bb%ba%e7%9a%84%e8%84%9a%e6%9c%ac%e6%b7%bb%e5%8a%a0gmai%e8%81%94%e7%b3%bb%e4%ba%ba%e5%88%b0%e9%80%9a%e8%ae%af%e5%bd%95","status":"publish","type":"post","link":"https:\/\/www.zuola.com\/weblog\/2013\/09\/2301.htm","title":{"rendered":"\u5982\u4f55\u7528AppleScript\u5199\u81ea\u52a8\u6309\u5efa\u7684\u811a\u672c\u6dfb\u52a0GMAI\u8054\u7cfb\u4eba\u5230\u901a\u8baf\u5f55"},"content":{"rendered":"<p>\u6211\u6700\u8fd1\u5728\u4e3a\u4e00\u4e9b\u516c\u76ca\u6d3b\u52a8\u505a\u5fd7\u613f\u8005\uff0c\u9700\u8981\u628a\u6536\u5230\u7684\u90ae\u4ef6\u6574\u7406\uff0c\u8fd8\u9700\u8981\u628a\u8054\u7cfb\u4eba\u90fd\u4fdd\u5b58\u4e0b\u6765\uff0c\u6dfb\u52a0\u5230\u901a\u8baf\u5f55\uff0c\u65b9\u4fbf\u7528BCC\u7fa4\u53d1\u56de\u590d\u652f\u6301\u8005\uff0c\u5411\u652f\u6301\u8005\u62a5\u544a\u6700\u65b0\u52a8\u6001\u3002GMAIL\u672c\u6765\u6709\u81ea\u52a8\u6dfb\u52a0\u8054\u7cfb\u4eba\u529f\u80fd\u7684\uff0c\u540e\u6765\u4eba\u4eec\u6297\u8bae\u81ea\u5df1\u7684\u901a\u8baf\u5f55\u91cc\u51fa\u73b0\u4e00\u4e9b\u4e0d\u8ba4\u8bc6\u7684\u4eba\uff0c\u4e8e\u662fGMAIL\u628a\u7b56\u7565\u6539\u4e3a\u56de\u590d\u8fc7\u7684\u4eba\u7684\u90ae\u4ef6\u5730\u5740\u624d\u8fdb\u901a\u8baf\u5f55\uff0c\u4ee5\u4fbf\u56de\u90ae\u4ef6\u65f6\u81ea\u52a8\u5b8c\u6210\u90ae\u4ef6\u5730\u5740\u3002\u8fd9\u6837\uff0c\u6211\u9700\u8981\u624b\u5de5\u628a\u8fd1\u5343\u5c01\u90ae\u4ef6\u70b9\u5f00\uff0c\u7136\u540e\u70b9\u5f00\u53f3\u4e0a\u89d2\u7684\u4e0b\u62c9\u6309\u94ae\uff0c\u627e\u5230\u201c\u5c06 ***\u52a0\u5230\u8054\u7cfb\u4eba\u5217\u8868\u201d \uff0c\u8fd9\u4e48\u4e00\u6765\uff0c\u6211\u4f1a\u7d2f\u6b7b\u3002<\/p>\n<p>\u6240\u4ee5\u6211\u60f3\u5230Applescript\u4e5f\u8bb8\u53ef\u4ee5\u81ea\u52a8\u5e2e\u6211\u70b9\u51fb\uff0c\u7ed3\u679c\u641c\u7d22\u534a\u5929\uff0c\u6ca1\u53d1\u73b0click\uff08\uff09\u5bf9\u7a97\u53e3\u6709\u4f5c\u7528\uff0c\u540e\u6765\u67e5\u770b\u4e86GMAIL\u7684\u5feb\u6377\u952e\uff0c\u8c03\u8bd5\u4e86\u534a\u5929\uff0c\u5199\u51fa\u4e0b\u9762\u7684\u811a\u672c\uff0c\u867d\u7136\u4e0d\u80fd\u5b8c\u5168\u4e0d\u5e72\u9884\u5c31\u81ea\u52a8\u6dfb\u52a0\u6240\u6709\u8054\u7cfb\u4eba\uff0c\u4f46\u8fd8\u662f\u51cf\u8f7b\u4e86\u6211\u7684\u5de5\u4f5c\u91cf\u3002<\/p>\n<p>\u4e0b\u9762\u7684\u811a\u672c\u9047\u5230\u51e0\u4e2a\u610f\u5916\u60c5\u51b5\u9700\u8981\u4eba\u5de5\u5e72\u9884\uff0c\u82e5\u5173\u6389GMAIL\u7684\u804a\u5929\u529f\u80fd\uff0c\u5c31\u53ef\u4ee5\u907f\u514d\u4e0b\u62c9\u83dc\u5355\u4e2d\u7684\u201c\u5c06 ***\u52a0\u5230\u8054\u7cfb\u4eba\u5217\u8868\u201d&nbsp;\u51fa\u73b0\u5728\u7b2c\u4e94\u6216\u7b2c\u516d\u7684\u4f4d\u7f6e\uff0c\u811a\u672c\u4e2d\u5c31\u63a7\u5236\u6309\u4e94\u4e0b\u5411\u4e0b\u65b9\u5411\u952e\uff08arrow down\uff09\uff0c\u4e0d\u8fc7\uff0c\u82e5\u9047\u5230\u8054\u7cfb\u4eba\u5df2\u7ecf\u5728\u901a\u8baf\u5f55\u7684\uff0c\u7b2c\u4e94\u4e0b\u53c8\u4f1a\u53d8\u6210\u201c\u5220\u9664\u90ae\u4ef6\u201d\uff0c\u8fd9\u4e2a\u6211\u6ca1\u529e\u6cd5\u907f\u514d\uff0c\u5220\u9664\u539f\u6709\u901a\u8baf\u5f55\u4e5f\u4e0d\u80fd\u6539\u5584\uff0c\u53ea\u597d\u4eba\u5de5\u5e72\u9884\u3002<\/p>\n<p>Gmail\u6bcf\u6b21\u53ea\u80fd\u9884\u89c8100\u4e2a\u4f1a\u8bdd\uff0c\u6240\u4ee5\uff0c\u811a\u672c\u88ab\u6211\u8bbe\u7f6e\u6210\u5faa\u73af100\u6b21\uff0c\u7528\u4e0b\u9762\u7684\uff1a<\/p>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 124.8px; text-indent: -124.9px;\"><b>set<\/b>&nbsp;<span style=\"color: #4f8f00;\">var<\/span>&nbsp;<b>to<\/b>&nbsp;0<\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 124.8px; text-indent: -124.9px;\"><b>repeat<\/b>&nbsp;<b>while<\/b>&nbsp;<span style=\"color: #4f8f00;\">var<\/span>&nbsp;&lt; 30<\/div>\n<p>\u914d\u5408<\/p>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 124.8px; text-indent: -124.9px;\"><b style=\"text-indent: -166.5px;\">set<\/b><span style=\"text-indent: -166.5px;\">&nbsp;<\/span><span style=\"color: #4f8f00; text-indent: -166.5px;\">var<\/span><span style=\"text-indent: -166.5px;\">&nbsp;<\/span><b style=\"text-indent: -166.5px;\">to<\/b><span style=\"text-indent: -166.5px;\">&nbsp;<\/span><span style=\"color: #4f8f00; text-indent: -166.5px;\">var<\/span><span style=\"text-indent: -166.5px;\">&nbsp;<\/span><span style=\"text-indent: -166.5px;\">+ 1<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 124.8px; text-indent: -124.9px;\"><span style=\"color: #0433ff; text-indent: -166.5px;\"><b>log<\/b><\/span><span style=\"text-indent: -166.5px;\">&nbsp;<\/span><span style=\"color: #4f8f00; text-indent: -166.5px;\">var<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 124.8px; text-indent: -124.9px;\"><b style=\"text-indent: -124.9px;\">end<\/b><span style=\"text-indent: -124.9px;\">&nbsp;<\/span><b style=\"text-indent: -124.9px;\">repeat<\/b><\/div>\n<p>\u6765\u5b9e\u73b0\u3002<\/p>\n<p><a name='more'><\/a><\/p>\n<p>\u8fd9\u4e00\u884c\u662f\u6fc0\u6d3bChrome\u7a97\u53e3<br \/><b style=\"font-family: Verdana; font-size: 12px; text-indent: -41px;\">tell<\/b><span style=\"font-family: Verdana; font-size: 12px; text-indent: -41px;\">&nbsp;<\/span><span style=\"color: #0433ff; font-family: Verdana; font-size: 12px; text-indent: -41px;\"><i>application<\/i><\/span><span style=\"font-family: Verdana; font-size: 12px; text-indent: -41px;\">&nbsp;&#8220;Google Chrome&#8221;&nbsp;<\/span><b style=\"font-family: Verdana; font-size: 12px; text-indent: -41px;\">to<\/b><span style=\"font-family: Verdana; font-size: 12px; text-indent: -41px;\">&nbsp;<\/span><span style=\"color: #0433ff; font-family: Verdana; font-size: 12px; text-indent: -41px;\"><b>activate<\/b><\/span><br \/>\u8fd9 \u4e00\u884c\u662f\u8c03\u7528\u201cSystem Events&#8221;\uff0c\u9700\u8981\u53bbMAC\u7684\u201c\u8f85\u52a9\u529f\u80fd\u201d\u91cc\u542f\u7528\u201c\u542f\u7528\u8f85\u52a9\u8bbe\u5907\u7684\u63a7\u5236\u201d<br \/><b style=\"font-family: Verdana; font-size: 12px; text-indent: -41px;\">tell<\/b><span style=\"font-family: Verdana; font-size: 12px; text-indent: -41px;\">&nbsp;<\/span><span style=\"color: #0433ff; font-family: Verdana; font-size: 12px; text-indent: -41px;\"><i>application<\/i><\/span><span style=\"font-family: Verdana; font-size: 12px; text-indent: -41px;\">&nbsp;&#8220;System Events&#8221;<\/span><br \/>\u8fd9\u4e00\u884c\u662f\u7528\u8ba1\u6570\u7684\uff0c\u7535\u8111\u53ef\u4ee5\u8bed\u97f3\u62a5\u6570<br \/><span style=\"color: #012fbe; font-family: Verdana; font-size: 12px; text-indent: -166px;\"><b>say<\/b><\/span><span style=\"font-family: Verdana; font-size: 12px; text-indent: -166px;\">&nbsp;<\/span><span style=\"color: #4f8f00; font-family: Verdana; font-size: 12px; text-indent: -166px;\">var<\/span><br \/>\u8fd9\u4e00\u884c\u662f\u7528\u6765 \u62a5\u544a\u4efb\u52a1\u5b8c\u6210\u7684<br \/><span style=\"color: #012fbe; font-family: Verdana; font-size: 12px; text-indent: -124px;\"><b>say<\/b><\/span><span style=\"font-family: Verdana; font-size: 12px; text-indent: -124px;\">&nbsp;&#8220;30 times done&#8221;<\/span><\/p>\n<p>\u6211\u89e3\u91ca\u4e00\u4e0b\u4e0b\u9762\u7684\u4ee3\u7801\u7684\u6548\u679c\uff1a\u590d\u5236\u5230AppleScript\u7f16\u8f91\u5668\uff08\u82f9\u679c\u7535\u8111\u7cfb\u7edf\u81ea\u5e26\u7684\u5de5\u5177\uff09\u91cc\u70b9\u8fd0\u884c\u540e\uff0c\u5148\u8df3\u5230Chrome\u6d4f\u89c8\u5668\uff0c\u6d4f\u89c8\u5668\u8981\u5148\u6253\u5f00GMAIL\u5e76\u5230\u8bbe\u7f6e\u91cc\u5173\u95ed\u804a\u5929\u529f\u80fd\uff0c\u7136\u540e\u5f00\u59cb\u628a\u8ba1\u6570\u5668var\u8bbe\u7f6e\u4e3a0\uff0c\u7136\u540e\u5224\u65ad\u8fd9\u4e2a\u6570\u5b57\u662f\u5426\u5c0f\u4e8e30\uff0c\u7136\u540e\u7535\u8111\u5ff5\u51fa\u6570\u5b57\uff0c\u7136\u540e\u6309j\u952e\u8df3\u5230\u4e0b\u4e00\u526f\u5c01\u90ae\u4ef6\uff0c\u7136\u540e\u6309\u9017\u53f7\u5b9a\u4f4d\u5230GMAIL\u7684\u5de5\u5177\u680f\uff0c\u7136\u540e\u6309tab\u952e15\u4e0b\u5230\u4e0b\u62c9\u83dc\u5355\uff0c\u786e\u5b9a\uff0c\u518d\u4e0b\u62c95\u4e0b\uff0c\u786e\u5b9a\uff0c\u8fd9\u6837\u5c31\u4fdd\u5b58\u8054\u7cfb\u4eba\uff0c\u7136\u540e\u518dtab\u6309\u4e24\u4e0b\uff0c\u8fd9\u4e24\u4e0btab\u662f\u4e3a\u4e86\u907f\u514d\u90ae\u4ef6\u4f1a\u8bdd\u4e2d\u6709\u591a\u5c01\u90ae\u4ef6\u7684\u60c5\u884c\u5149\u6807\u7126\u70b9\u8dd1\u5230textarea\u91cc\u5bfc\u81f4\u4e0b\u4e00\u4e2a\u6307\u4ee4j\u4e0d\u80fd\u8df3\u8f6c\u5230\u4e0b\u4e00\u5c01\u90ae\u4ef6\u3002\u7136\u540e\u628avar\u52a0\u4e0a1\uff0c\u63a5\u4e0b\u6765\u7ee7\u7eed\u5faa\u73af\uff0c\u76f4\u5230\u8ba1\u6570\u5668\u8fbe\u5230\u6211\u8bbe\u5b9a\u768430.<\/p>\n<p>\u67e5\u770b\u6240\u6709GMAIL\u7684\u5feb\u6377\u952e\uff0c\u8f93\u5165\u95ee\u9898\u5c31\u53ef\u4ee5\u67e5\u770b\u3002shift+?\u624d\u80fd\u8f93\u51fa\u201c\u95ee\u53f7\u201d\u3002<\/p>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 41.6px; text-indent: -41.6px;\"><b>tell<\/b> <span style=\"color: #0433ff;\"><i>application<\/i><\/span> &#8220;Google Chrome&#8221; <b>to<\/b> <span style=\"color: #0433ff;\"><b>activate<\/b><\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 41.6px; text-indent: -41.6px;\"><b>tell<\/b> <span style=\"color: #0433ff;\"><i>application<\/i><\/span> &#8220;System Events&#8221;<\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 83.2px; text-indent: -83.2px;\"><span style=\"white-space: pre;\"> <\/span><b>tell<\/b> <span style=\"color: #0433ff;\"><i>application process<\/i><\/span> &#8220;Google Chrome&#8221;<\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 124.8px; text-indent: -124.9px;\"><span style=\"white-space: pre;\">  <\/span><b>set<\/b> <span style=\"color: #4f8f00;\">var<\/span> <b>to<\/b> 0<\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 124.8px; text-indent: -124.9px;\"><span style=\"white-space: pre;\">  <\/span><b>repeat<\/b> <b>while<\/b> <span style=\"color: #4f8f00;\">var<\/span> &lt; 30<\/div>\n<div style=\"color: #0433ff; font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"color: black;\"><span style=\"white-space: pre;\">   <\/span><\/span><b>keystroke<\/b><span style=\"color: black;\"> &#8220;j&#8221;<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #012fbe;\"><b>say<\/b><\/span> <span style=\"color: #4f8f00;\">var<\/span><\/div>\n<div style=\"color: #0433ff; font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"color: black;\"><span style=\"white-space: pre;\">   <\/span><\/span><b>keystroke<\/b><span style=\"color: black;\"> &#8220;,&#8221;<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #012fbe;\"><b>delay<\/b><\/span> 0.05<\/div>\n<div style=\"color: #0433ff; font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"color: black;\"><span style=\"white-space: pre;\">   <\/span><\/span><b>keystroke<\/b><span style=\"color: black;\"> <\/span><span style=\"color: #812fdc;\">tab<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #012fbe;\"><b>delay<\/b><\/span> 0.05<\/div>\n<div style=\"color: #0433ff; font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"color: black;\"><span style=\"white-space: pre;\">   <\/span><\/span><b>keystroke<\/b><span style=\"color: black;\"> <\/span><span style=\"color: #812fdc;\">tab<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #012fbe;\"><b>delay<\/b><\/span> 0.05<\/div>\n<div style=\"color: #0433ff; font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"color: black;\"><span style=\"white-space: pre;\">   <\/span><\/span><b>keystroke<\/b><span style=\"color: black;\"> <\/span><span style=\"color: #812fdc;\">tab<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #012fbe;\"><b>delay<\/b><\/span> 0.05<\/div>\n<div style=\"color: #0433ff; font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"color: black;\"><span style=\"white-space: pre;\">   <\/span><\/span><b>keystroke<\/b><span style=\"color: black;\"> <\/span><span style=\"color: #812fdc;\">tab<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #012fbe;\"><b>delay<\/b><\/span> 0.05<\/div>\n<div style=\"color: #0433ff; font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"color: black;\"><span style=\"white-space: pre;\">   <\/span><\/span><b>keystroke<\/b><span style=\"color: black;\"> <\/span><span style=\"color: #812fdc;\">tab<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #012fbe;\"><b>delay<\/b><\/span> 0.05<\/div>\n<div style=\"color: #0433ff; font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"color: black;\"><span style=\"white-space: pre;\">   <\/span><\/span><b>keystroke<\/b><span style=\"color: black;\"> <\/span><span style=\"color: #812fdc;\">tab<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #012fbe;\"><b>delay<\/b><\/span> 0.05<\/div>\n<div style=\"color: #0433ff; font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"color: black;\"><span style=\"white-space: pre;\">   <\/span><\/span><b>keystroke<\/b><span style=\"color: black;\"> <\/span><span style=\"color: #812fdc;\">tab<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #012fbe;\"><b>delay<\/b><\/span> 0.05<\/div>\n<div style=\"color: #0433ff; font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"color: black;\"><span style=\"white-space: pre;\">   <\/span><\/span><b>keystroke<\/b><span style=\"color: black;\"> <\/span><span style=\"color: #812fdc;\">tab<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #012fbe;\"><b>delay<\/b><\/span> 0.05<\/div>\n<div style=\"color: #0433ff; font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"color: black;\"><span style=\"white-space: pre;\">   <\/span><\/span><b>keystroke<\/b><span style=\"color: black;\"> <\/span><span style=\"color: #812fdc;\">tab<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #012fbe;\"><b>delay<\/b><\/span> 0.05<\/div>\n<div style=\"color: #0433ff; font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"color: black;\"><span style=\"white-space: pre;\">   <\/span><\/span><b>keystroke<\/b><span style=\"color: black;\"> <\/span><span style=\"color: #812fdc;\">tab<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #012fbe;\"><b>delay<\/b><\/span> 0.05<\/div>\n<div style=\"color: #0433ff; font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"color: black;\"><span style=\"white-space: pre;\">   <\/span><\/span><b>keystroke<\/b><span style=\"color: black;\"> <\/span><span style=\"color: #812fdc;\">tab<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #012fbe;\"><b>delay<\/b><\/span> 0.05<\/div>\n<div style=\"color: #0433ff; font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"color: black;\"><span style=\"white-space: pre;\">   <\/span><\/span><b>keystroke<\/b><span style=\"color: black;\"> <\/span><span style=\"color: #812fdc;\">tab<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #012fbe;\"><b>delay<\/b><\/span> 0.05<\/div>\n<div style=\"color: #0433ff; font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"color: black;\"><span style=\"white-space: pre;\">   <\/span><\/span><b>keystroke<\/b><span style=\"color: black;\"> <\/span><span style=\"color: #812fdc;\">tab<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #012fbe;\"><b>delay<\/b><\/span> 0.05<\/div>\n<div style=\"color: #0433ff; font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"color: black;\"><span style=\"white-space: pre;\">   <\/span><\/span><b>keystroke<\/b><span style=\"color: black;\"> <\/span><span style=\"color: #812fdc;\">tab<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #012fbe;\"><b>delay<\/b><\/span> 0.05<\/div>\n<div style=\"color: #0433ff; font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"color: black;\"><span style=\"white-space: pre;\">   <\/span><\/span><b>keystroke<\/b><span style=\"color: black;\"> <\/span><span style=\"color: #812fdc;\">tab<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #012fbe;\"><b>delay<\/b><\/span> 0.05<\/div>\n<div style=\"color: #0433ff; font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"color: black;\"><span style=\"white-space: pre;\">   <\/span><\/span><b>keystroke<\/b><span style=\"color: black;\"> <\/span><span style=\"color: #812fdc;\">return<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #012fbe;\"><b>delay<\/b><\/span> 0.05<\/div>\n<div style=\"color: #012fbe; font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"color: black;\"><span style=\"white-space: pre;\">   <\/span><\/span><span style=\"color: #0433ff;\"><b>keystroke<\/b><\/span><span style=\"color: black;\"> (<\/span><b>ASCII character<\/b><span style=\"color: black;\"> 31)<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #012fbe;\"><b>delay<\/b><\/span> 0.05<\/div>\n<div style=\"color: #012fbe; font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"color: black;\"><span style=\"white-space: pre;\">   <\/span><\/span><span style=\"color: #0433ff;\"><b>keystroke<\/b><\/span><span style=\"color: black;\"> (<\/span><b>ASCII character<\/b><span style=\"color: black;\"> 31)<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #012fbe;\"><b>delay<\/b><\/span> 0.05<\/div>\n<div style=\"color: #012fbe; font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"color: black;\"><span style=\"white-space: pre;\">   <\/span><\/span><span style=\"color: #0433ff;\"><b>keystroke<\/b><\/span><span style=\"color: black;\"> (<\/span><b>ASCII character<\/b><span style=\"color: black;\"> 31)<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #012fbe;\"><b>delay<\/b><\/span> 0.05<\/div>\n<div style=\"color: #012fbe; font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"color: black;\"><span style=\"white-space: pre;\">   <\/span><\/span><span style=\"color: #0433ff;\"><b>keystroke<\/b><\/span><span style=\"color: black;\"> (<\/span><b>ASCII character<\/b><span style=\"color: black;\"> 31)<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #012fbe;\"><b>delay<\/b><\/span> 0.05<\/div>\n<div style=\"color: #012fbe; font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"color: black;\"><span style=\"white-space: pre;\">   <\/span><\/span><span style=\"color: #0433ff;\"><b>keystroke<\/b><\/span><span style=\"color: black;\"> (<\/span><b>ASCII character<\/b><span style=\"color: black;\"> 31)<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #012fbe;\"><b>delay<\/b><\/span> 0.5<\/div>\n<div style=\"color: #0433ff; font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"color: black;\"><span style=\"white-space: pre;\">   <\/span><\/span><b>keystroke<\/b><span style=\"color: black;\"> <\/span><span style=\"color: #812fdc;\">return<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; min-height: 15px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #012fbe;\"><b>delay<\/b><\/span> 0.5<\/div>\n<div style=\"color: #0433ff; font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"color: black;\"><span style=\"white-space: pre;\">   <\/span><\/span><b>keystroke<\/b><span style=\"color: black;\"> <\/span><span style=\"color: #812fdc;\">tab<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #012fbe;\"><b>delay<\/b><\/span> 0.2<\/div>\n<div style=\"color: #0433ff; font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"color: black;\"><span style=\"white-space: pre;\">   <\/span><\/span><b>keystroke<\/b><span style=\"color: black;\"> <\/span><span style=\"color: #812fdc;\">tab<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #012fbe;\"><b>delay<\/b><\/span> 0.2<\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; min-height: 15px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; min-height: 15px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><b>set<\/b> <span style=\"color: #4f8f00;\">var<\/span> <b>to<\/b> <span style=\"color: #4f8f00;\">var<\/span> + 1<\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><span style=\"color: #0433ff;\"><b>log<\/b><\/span> <span style=\"color: #4f8f00;\">var<\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 166.5px; min-height: 15px; text-indent: -166.5px;\"><span style=\"white-space: pre;\">   <\/span><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 124.8px; text-indent: -124.9px;\"><span style=\"white-space: pre;\">  <\/span><b>end<\/b> <b>repeat<\/b><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 124.8px; text-indent: -124.9px;\"><span style=\"white-space: pre;\">  <\/span><span style=\"color: #012fbe;\"><b>say<\/b><\/span> &#8220;30 times done&#8221;<\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 83.2px; text-indent: -83.2px;\"><span style=\"white-space: pre;\"> <\/span><b>end<\/b> <b>tell<\/b><\/div>\n<div style=\"font-family: Verdana; font-size: 12px; margin-left: 41.6px; text-indent: -41.6px;\"><b>end<\/b> <b>tell<\/b><\/div>\n<div><b><br \/><\/b><\/div>\n<p><\/p>\n<div>\u6765\u81ea\u5468\u66d9\u5149\u7684BLOGSPOT\u7a7a\u95f4<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u6700\u8fd1\u5728\u4e3a\u4e00\u4e9b\u516c\u76ca\u6d3b\u52a8\u505a\u5fd7\u613f\u8005\uff0c\u9700\u8981\u628a\u6536\u5230\u7684\u90ae\u4ef6\u6574\u7406\uff0c\u8fd8\u9700\u8981\u628a\u8054\u7cfb\u4eba\u90fd\u4fdd\u5b58\u4e0b\u6765\uff0c <span class=\"readmore\"><a href=\"https:\/\/www.zuola.com\/weblog\/2013\/09\/2301.htm\">Continue Reading &#8230;<\/a><\/span><\/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":[],"class_list":["post-2301","post","type-post","status-publish","format-standard","hentry","category-random"],"views":137,"_links":{"self":[{"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/posts\/2301","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/comments?post=2301"}],"version-history":[{"count":0,"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/posts\/2301\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/media?parent=2301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/categories?post=2301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zuola.com\/weblog\/wp-json\/wp\/v2\/tags?post=2301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}