{"id":94,"date":"2014-07-23T18:11:05","date_gmt":"2014-07-23T18:11:05","guid":{"rendered":"http:\/\/xuan.guru\/?p=94"},"modified":"2014-07-23T18:11:05","modified_gmt":"2014-07-23T18:11:05","slug":"autohotkey-macro-and-automation-windows-scripting-language","status":"publish","type":"post","link":"https:\/\/xuan.co.uk\/?p=94","title":{"rendered":"AutoHotkey: macro and automation Windows scripting language"},"content":{"rendered":"<p><a href=\"http:\/\/www.autohotkey.com\/\">AutoHotkey: macro and automation Windows scripting language<\/a>.<\/p>\n<p>If you need to automate windows, AutoHotkey has a full scripting language that allows programming complex macros.<\/p>\n<p>Here&#8217;s an example.<\/p>\n<pre class=\"codeblock\" style=\"box-sizing: border-box; overflow: auto; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 13px; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857143; color: #333333; word-break: break-all; word-wrap: break-word; border: 1px solid #e8e8e8; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background: #ffffff;\"><span class=\"pun\" style=\"box-sizing: border-box; color: #666600;\">^!s::<\/span> <span class=\"com\" style=\"box-sizing: border-box; color: #757575;\">\/\/ Ctrl+Alt+S becomes a hotkey to type a signature:<\/span>\r\n<span class=\"kwd\" style=\"box-sizing: border-box; color: #153892;\">Send<\/span> <span class=\"lit\" style=\"box-sizing: border-box; color: #2fbcb2;\">Sincerely,<\/span><span class=\"pun\" style=\"box-sizing: border-box; color: #666600;\">{<\/span><span class=\"kwd\" style=\"box-sizing: border-box; color: #153892;\">Enter<\/span><span class=\"pun\" style=\"box-sizing: border-box; color: #666600;\">}<\/span><span class=\"lit\" style=\"box-sizing: border-box; color: #2fbcb2;\">John Smith<\/span>\r\n<span class=\"kwd\" style=\"box-sizing: border-box; color: #153892;\">return<\/span>\r\n\r\n<span class=\"pun\" style=\"box-sizing: border-box; color: #666600;\">::<\/span><span class=\"kwd\" style=\"box-sizing: border-box; color: #153892;\">btw<\/span><span class=\"pun\" style=\"box-sizing: border-box; color: #666600;\">::<\/span><span class=\"lit\" style=\"box-sizing: border-box; color: #2fbcb2;\">by the way<\/span> <span class=\"com\" style=\"box-sizing: border-box; color: #757575;\">\/\/ expands to \"by the way\" when \"btw\" is typed<\/span><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>AutoHotkey: macro and automation Windows scripting language. If you need to automate windows, AutoHotkey has a full scripting language that allows programming complex macros. Here&#8217;s an example. ^!s:: \/\/ Ctrl+Alt+S becomes a hotkey to type a signature: Send Sincerely,{Enter}John Smith return ::btw::by the way \/\/ expands to &#8220;by the way&#8221; <a class=\"more-link\" href=\"https:\/\/xuan.co.uk\/?p=94\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-94","post","type-post","status-publish","format-standard","hentry","category-tech-tips"],"_links":{"self":[{"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/94","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=94"}],"version-history":[{"count":1,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/94\/revisions"}],"predecessor-version":[{"id":95,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/94\/revisions\/95"}],"wp:attachment":[{"href":"https:\/\/xuan.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=94"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=94"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=94"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}