{"id":44291,"date":"2019-04-13T03:01:26","date_gmt":"2019-04-12T17:01:26","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=44291"},"modified":"2019-04-29T22:10:07","modified_gmt":"2019-04-29T12:10:07","slug":"windows-10-steps-recorder-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/windows-10-steps-recorder-primer-tutorial\/","title":{"rendered":"Windows 10 Steps Recorder Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Windows\/steps_recorder.gif\"><img decoding=\"async\" style=\"float:left;border: 15px solid pink;\" alt=\"Windows 10 Steps Recorder Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Windows\/steps_recorder.gif\" title=\"Windows 10 Steps Recorder Primer Tutorial\"    \/><\/a><p class=\"wp-caption-text\">Windows 10 Steps Recorder Primer Tutorial<\/p><\/div>\n<p>A long time ago I was a fan of a modestly presented &#8220;gem&#8221; of a (Microsoft) desktop application called &#8220;Windows Recorder&#8221; to record &#8220;screen goings on&#8221;, as we remembered below with <a title='WordPress Blog Posting AppleScript TextWrangler Helper Primer Tutorial' href='#wpbpastwhpt'>WordPress Blog Posting AppleScript TextWrangler Helper Primer Tutorial<\/a>.  This is &#8220;back in the day&#8221; even before Windows XP and somewhere along the Windows &#8220;line&#8221; we saw that it disappeared, and seemed to be gone for good, it seemed to us &#8230;<\/p>\n<blockquote cite='https:\/\/www.youtube.com\/watch?v=fGgAPncCu1s'><p>\n<a title='Costanza gem' href='https:\/\/www.youtube.com\/watch?v=fGgAPncCu1s'>I&#8217;m back, baby!<\/a>\n<\/p><\/blockquote>\n<p>Not sure when it came back, now called <a target=_blank title='Steps Recorder information' href='https:\/\/www.tenforums.com\/tutorials\/106569-open-use-steps-recorder-windows.html'>&#8220;Steps Recorder&#8221;<\/a> in Windows Accessories of Windows 10, but, who cares, because &#8230;<\/p>\n<blockquote cite='https:\/\/www.youtube.com\/watch?v=fGgAPncCu1s'><p>\n<a title='Costanza gem' href='https:\/\/www.youtube.com\/watch?v=fGgAPncCu1s'>I&#8217;m back, baby!<\/a>\n<\/p><\/blockquote>\n<p>This &#8220;Steps Recorder&#8221;, like its predecessor, has Start, Pause and Stop buttons as you&#8217;d expect, and, no doubt, can imagine how to use.  There is also a File menu &#8220;Save As&#8230;&#8221; option that can create a zip file containing a <a target=_blank title='Opening mht files' href='https:\/\/www.google.com\/search?rlz=1C5CHFA_enAU832AU832&#038;ei=KZ6UXKn3I6Hgz7sPvN654AI&#038;q=opening+mht+files&#038;oq=opening+mht+files&#038;gs_l=psy-ab.3..0l2j0i30l4j0i5i30.3381.3381..3686...0.0..0.152.152.0j1......0....1..gws-wiz.......0i71.tqIfdmTiUaY'>*.mht<\/a> file of the Windows 10 screen (&#8220;step&#8221;) goings on.<\/p>\n<p>Cute, huh?<\/p>\n<hr>\n<p id='wpbpastwhpt'>Previous relevant <a target=_blank title='WordPress Blog Posting AppleScript TextWrangler Helper Primer Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-blog-posting-applescript-textwrangler-helper-primer-tutorial\/'>WordPress Blog Posting AppleScript TextWrangler Helper Primer Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/AppleScriptEditor\/Clone_Blog_Posting.pdf\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"WordPress Blog Posting AppleScript TextWrangler Helper Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Mac\/AppleScriptEditor\/Clone_Blog_Posting.jpg\" title=\"WordPress Blog Posting AppleScript TextWrangler Helper Primer Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">WordPress Blog Posting AppleScript TextWrangler Helper Primer Tutorial<\/p><\/div>\n<p>Way back at the infancy of this blog we broached the idea that more people should learn computer coding with <a target=_blank title='Are you interested in combating drudgery?' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/262\/'>Are you interested in combating drudgery?<\/a> as we put to you &#8230;<\/p>\n<blockquote cite='https:\/\/www.rjmprogramming.com.au\/ITblog\/262\/'>\n<p>In your job do you have pretty simple repetitive tasks to do?<br \/>\nAre they jobs that involve doing the same thing to every file in a directory?<br \/>\nDo you end up with RSI (no need to answer this one &#8230; just there for drama)?<br \/>\nAre you sheepish to ask your office&#8217;s IT people?<br \/>\nAre you a self-professed non-programmer, but have a tiny little nerdy molecule here or there?<br \/>\nIf your answer to the questions above is &#8220;what are you on about?&#8221; &#8230; read on.<\/p>\n<p>My message is, don&#8217;t ditch the command line, whether you are on Windows, Linux or Mac OS X.<\/p>\n<\/blockquote>\n<p> &#8230; well, today we, hopefully, get you thinking on such matters, and want to show today, if you are using a MacBook Pro laptop to do your work, or some other Mac OS X platform, please do not overlook <a target=_blank title='AppleScript information from Apple' href='https:\/\/developer.apple.com\/library\/content\/documentation\/AppleScript\/Conceptual\/AppleScriptLangGuide\/introduction\/ASLR_intro.html'>AppleScript<\/a> ideas (last mentioned with <a title='AppleScript Surfing Primer Tutorial' href='#asspt'><font color=red>AppleScript Surfing Primer Tutorial<\/font><\/a>) to &#8220;combat drudgery&#8221;.  And where we say &#8220;combat drudgery&#8221; that includes &#8220;jobs that have an overall exciting dimension to them, but you&#8217;d love to save time on the bits that are repetitive&#8221;, for us, and maybe for you too?<\/p>\n<p>Today&#8217;s &#8220;procedural repetitive task&#8221; we work on, is very particular to our work here, and relates to &#8220;Cloning an Older WordPress Blog that is Built Upon and Referred to by the Current WordPress Blog Posting&#8221; (phew!), but we hope you get into AppleScript the way we did today, working in the same &#8220;dark&#8221; as any beginner (and most near beginners) do, and &#8220;nut things out&#8221; (and that is where we want you to view our <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/AppleScriptEditor\/Clone_Blog_Posting.pdf\" title='Click picture'>slideshow<\/a> (the first two slides of which show an AppleScript Editor environment, and then take you on to see how to use that script in practice) today, for context), because though that initial effort can be a slog, you may work it to save heaps of time on other tasks with your understanding more generic and useful, as your &#8220;slog&#8221; progresses.<\/p>\n<p>So what can we say about AppleScript, and its relationship to our Mac OS X text editor of choice (to write our WordPress Blog Postings), <a target=_blank href='http:\/\/www.macupdate.com\/app\/mac\/11009\/textwrangler' title='Mac TextWrangler text editor'><i>TextWrangler<\/i><\/a>?  Well, first off &#8230;<\/p>\n<ul>\n<li>you can find TextWrangler (AppleScript) scripting functionality access off its scripting menu icon to the left of the Help menu &#8230; and being the relative beginners that we were, we, today, spent a lot of time &#8220;nutting things out&#8221; by lots of &#8230;<\/li>\n<li>TextWrangler -&gt; Script Icon Menu -&gt; Start Recording &#8230; gets you to an exciting &#8220;Recording Your Actions&#8221; place where you can &#8230;\n<ol>\n<li>TextWrangler -&gt; Script Icon Menu -&gt; Start Recording &#8230;<\/li>\n<li>Work away at things you want to achieve in TextWrangler &#8230; until &#8230;<\/li>\n<li>TextWrangler -&gt; Script Icon Menu -&gt; Stop Recording &#8230;<\/li>\n<li>Save As&#8230; a well named *.scpt AppleScript script in the Scripts folder<\/li>\n<li>TextWrangler -&gt; Script Icon Menu -&gt; Open Script Editor &#8230;<\/li>\n<li>navigate to your (just) saved script &#8230; look and learn &#8230; repeat &#8230; try new things &#8230; then realize there is more to AppleScript than &#8220;recording&#8221; &#8230; even less that AutoHotKey&#8217;s &#8220;recording&#8221; brilliance &#8230; or those &#8220;old days&#8221; Windows Recorder days (sigh!)<\/li>\n<\/ol>\n<\/li>\n<li>learn off the &#8220;net&#8221; what people before us &#8230; bless them &#8230; have taught us &#8230; took a list of those that helped today below &#8230; thanks &#8230;\n<ol>\n<li><a target=_blank title='Mac Automation Scripting Guide: Manipulating Text' href='https:\/\/developer.apple.com\/library\/content\/documentation\/LanguagesUtilities\/Conceptual\/MacAutomationScriptingGuide\/ManipulateText.html'>Mac Automation Scripting Guide: Manipulating Text<\/a><\/li>\n<li><a target=_blank title='applescript - Script to convert lower case characters into upper case is working differently as service action - Stack Overflow' href='https:\/\/stackoverflow.com\/questions\/9380605\/script-to-convert-lower-case-characters-into-upper-case-is-working-differently-a'>applescript &#8211; Script to convert lower case characters into upper case is working differently as service action &#8211; Stack Overflow<\/a><\/li>\n<li><a target=_blank title=\"AppleScript: How to split a string | Erik's Lab\" href='http:\/\/erikslab.com\/2007\/08\/31\/applescript-how-to-split-a-string\/'>AppleScript: How to split a string | Erik&#8217;s Lab<\/a><\/li>\n<li><a target=_blank title=\"Can I use Applescript to go to the end of a text document? - Ask Different\" href='https:\/\/apple.stackexchange.com\/questions\/253050\/can-i-use-applescript-to-go-to-the-end-of-a-text-document'>Can I use Applescript to go to the end of a text document? &#8211; Ask Different<\/a><\/li>\n<li><a target=_blank title='applescript - keystroke string with new line in it - Stack Overflow' href='https:\/\/stackoverflow.com\/questions\/25946850\/keystroke-string-with-new-line-in-it'>applescript &#8211; keystroke string with new line in it &#8211; Stack Overflow<\/a><\/li>\n<li><a target=_blank title='MacScripter \/ How do you code keystroke enter?' href='http:\/\/macscripter.net\/viewtopic.php?id=29512'>MacScripter \/ How do you code keystroke enter?<\/a><\/li>\n<li><a target=_blank title='How do I invoke enter with keystroke in AppleScript so Web Clipper will save a web page to Evernote? - Stack Overflow' href='https:\/\/stackoverflow.com\/questions\/24708464\/how-do-i-invoke-enter-with-keystroke-in-applescript-so-web-clipper-will-save-a-w'>How do I invoke enter with keystroke in AppleScript so Web Clipper will save a web page to Evernote? &#8211; Stack Overflow<\/a><\/li>\n<li><a target=_blank title='Insert Text With A Keystroke or Shortcut In Any Application | Mac Tricks And Tips' href='http:\/\/www.mactricksandtips.com\/2013\/04\/insert-text-with-a-keystroke-in-any-application.html'>Insert Text With A Keystroke or Shortcut In Any Application | Mac Tricks And Tips<\/a><\/li>\n<li><a target=_blank title='AppleScript Pages - get insertion point - Stack Overflow' href='https:\/\/stackoverflow.com\/questions\/18792764\/applescript-pages-get-insertion-point'>AppleScript Pages &#8211; get insertion point &#8211; Stack Overflow<\/a><\/li>\n<li><a target=_blank title='macos - How to select File menu in Mac, just like Alt + F in Windows? - Super User' href='https:\/\/superuser.com\/questions\/504111\/how-to-select-file-menu-in-mac-just-like-alt-f-in-windows'>macos &#8211; How to select File menu in Mac, just like Alt + F in Windows? &#8211; Super User<\/a><\/li>\n<\/ol>\n<\/li>\n<li>which lead me to one of the biggest ideas from today&#8217;s work, at least for me &#8230; I love Korn Shell (back at Linux or Unix or Mac BSD) &#8230; and this type of scripting is available to you once you have got a string variable established at the AppleScript via code like &#8230;<br \/>\n<code><br \/>\n\tset myNickNameLower to (do shell script (\"echo \" & myName & \" | tr [a-z] ' ' | sed '\/ \/s\/\/\/g' | tr [A-Z] [a-z];\"))<br \/>\n\tset myITblog to (do shell script (\"echo \" & myName & \" | tr ' ' '-' | tr [A-Z] [a-z];\"))<br \/>\n<\/code><br \/>\n &#8230; the &#8220;myNickNameLower&#8221; ending up as a good HTML <i>p<\/i> (unique) id to hash tag navigate to, and &#8220;myITblog&#8221; converts a blog posting name to a WordPress (4.1.1 (or most modern versions) that use the default permalink arrangement) relative URL bit that appends to https:\/\/www.rjmprogramming.com.au\/ITblog\/ WordPress blog (document root) URL and navigates you to a WordPress Blog posting of interest via the Blog Posting Title&#8217;s permalink arrangement &#8230; we rely on this Blog Posting Title and Permalink &#8220;arrangement&#8221; everywhere, and recommend it as a &#8220;way to go&#8221; with WordPress blog URL organizational arrangements\n<\/li>\n<p>Below we want to show you today&#8217;s whole AppleScript, as directly irrelevant as it may seem to you, because, as much as anything, AppleScript is readable anyway, and it will give any beginners out there a feel for what goes on here, with a real working example (at least for this MacBook Pro using Mac OS X macOS Sierra 10.12.4) &#8230;<\/p>\n<p><code><br \/>\ntell application \"TextWrangler\"<br \/>\n\tactivate<br \/>\n\tselect text 1 of project window 1<br \/>\n\tcopy selection<br \/>\n\tmake new text document at project window 1<br \/>\n<b><\/b><br \/>\n\tpaste<br \/>\n\tactivate<br \/>\n<b><\/b><br \/>\n\tset the_text to text of document 1<br \/>\n<b><\/b><br \/>\n\tset myDelim to \"\\\"\"<br \/>\n<b><\/b><br \/>\n\tset oldDelimiters to AppleScript's text item delimiters<br \/>\n\tset AppleScript's text item delimiters to myDelim<br \/>\n\tset myName to text item 8 of the_text<br \/>\n\tset myNickNameLower to (do shell script (\"echo \" & myName & \" | tr [a-z] ' ' | sed '\/ \/s\/\/\/g' | tr [A-Z] [a-z];\"))<br \/>\n\tset myITblog to (do shell script (\"echo \" & myName & \" | tr ' ' '-' | tr [A-Z] [a-z];\"))<br \/>\n\tset myUrl to text item 10 of the_text<br \/>\n\tset myImageUrl to text item 16 of the_text<br \/>\n\tset AppleScript's text item delimiters to oldDelimiters<br \/>\n<b><\/b><br \/>\n<b><\/b><br \/>\n\tset cannedResponseTop to \"&lt;a target=_blank href=\\\"\" & myUrl & \"\\\"&gt;&lt;img style=\\\"border: 15px solid pink;\\\" alt=\\\"New \" & myName & \"\\\" src=\\\"\" & myImageUrl & \"_new\\\" title=\\\"New \" & myName & \"\\\"  style=\\\"float:left;\\\" \/&gt;&lt;\/a&gt;<br \/>\n<b><\/b><br \/>\n<b><\/b><br \/>\n<b><\/b><br \/>\n&lt;p&gt;Yesterday's &lt;a title='\" & myName & \"' href='#\" & myNickNameLower & \"'&gt;\" & myName & \"&lt;\/a&gt; ...&lt;\/p&gt;<br \/>\n<b><\/b><br \/>\n<b><\/b><br \/>\n&lt;p&gt;You can also see this play out at WordPress 4.1.1's &lt;a target=_blank  href='https:\/\/www.rjmprogramming.com.au\/ITblog\/new-\" & myITblog & \"\/'&gt;New \" & myName & \"&lt;\/a&gt; ...&lt;\/p&gt;<br \/>\n<b><\/b><br \/>\n&lt;hr&gt;<br \/>\n<b><\/b><br \/>\n&lt;p id='\" & myNickNameLower & \"'&gt;Previous relevant &lt;a target=_blank title='\" & myName & \"' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/\" & myITblog & \"\/'&gt;\" & myName & \"&lt;\/a&gt; is shown below.&lt;\/p&gt;<br \/>\n<b><\/b><br \/>\n\t\t\"<br \/>\n<b><\/b><br \/>\n\tset cannedResponseBottom to \"&lt;hr&gt;<br \/>\n<b><\/b><br \/>\n&lt;p&gt;If this was interesting you may be interested in &lt;a title='Click here to see topics in which you might be interested' href='#d99999' onclick='var dv=document.getElementById(\\\"d99999\\\"); dv.innerHTML = \\\"&lt;iframe width=670 height=600 src=\\\" + \\\"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/tutorial\\\" + \\\"&gt;&lt;\/iframe&gt;\\\"; dv.style.display = \\\"block\\\";'&gt;this&lt;\/a&gt; too.&lt;\/p&gt;<br \/>\n&lt;div id='d99999' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'&gt;&lt;\/div&gt;<br \/>\n\"<br \/>\n<b><\/b><br \/>\n\tset text of document 1 to cannedResponseTop & return & the_text & return & cannedResponseBottom<br \/>\n<b><\/b><br \/>\n\tactivate<br \/>\n\tselect insertion point before line 1 of window 1<br \/>\n\tactivate<br \/>\n<b><\/b><br \/>\n\tset filen to \"Macintosh HD:Applications:MAMP:htdocs:aaa_new_\" & myNickNameLower & \".txt\"<br \/>\n<b><\/b><br \/>\n\tsave text document 1 to file filen without saving as stationery<br \/>\n<b><\/b><br \/>\n\tset the clipboard to \"New \" & myName<br \/>\n<b><\/b><font color=green><br \/>\n\tset the_new_text to text of document 1<br \/>\n\tset the clipboard to the_new_text<\/font><br \/>\nend tell<br \/>\n<\/code><\/p>\n<p> &#8230; or download it as <a target=_blank title='Clone_Blog_Posting.scpt' href='http:\/\/www.rjmprogramming.com.au\/Mac\/AppleScriptEditor\/Clone_Blog_Posting.scpt_GETME'>Clone_Blog_Posting.scpt<\/a> if you like.<\/p>\n<p>Which leaves us with &#8230; if you haven&#8217;t watched our <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/AppleScriptEditor\/Clone_Blog_Posting.pdf\" title='Click picture'>slideshow<\/a> today &#8230; huh?  Where does this help us out, with respect to &#8220;combating drudery&#8221; or &#8220;zooming through the robotic bits&#8221; (perhaps we should add)?  Here, we build on previous blog posting a lot of the time.  We like the user to constantly have access to that historical context, not always in full, where we are likely to just supply a link, but often in full, by including past blog postings we feel are relevant to the &#8220;thread&#8221; of blog postings, in full, into the content of the current blog posting we are writing.  In this latter scenario, there are quite a few &#8220;robotic&#8221; actions we repeatedly do to write these amalgamated blog postings in terms of referring the user to that previous work, and our script today <b>fits in helping out<\/b> as below, with the overall procedure &#8230; <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/AppleScriptEditor\/Clone_Blog_Posting.pdf\" title='Click picture'>slideshow<\/a>, perhaps? &#8230;<\/p>\n<ol>\n<li>on a web browser identify previous WordPress blog posting you want to base new one on &#8230;<\/li>\n<li>Copy its contents into the clipboard &#8230;<\/li>\n<li>in TextWrangler, use File -&#038; New&#8230; Text Document &#8230;<\/li>\n<li>Paste in that older content\n<li><b>TextWrangler -&gt; Script Icon Menu -&gt; Clone_Blog_Posting<\/b> (see how creating Scripts (and Saving them) automatically adds them to this menu!)<\/li>\n<li>either flesh out more in TextWrangler for the less robotic aspects &#8230; <i>NonRobotsRUs<\/i> &#8230; or <strike>SelectAll Copy<\/strike> (<font color=green>Stop Press<\/font>: we now have it in clipboard off running script) here and Paste into a WordPress -&gt; Add New Post content (sub)window and work it the less robotic aspects &#8230; <strike><i>NonRobotsRUs<\/i><\/strike><font size=1> &#8230; oops<\/font> &#8230; there, instead &#8230; or do a combination of less robotic aspects &#8230; <strike><i>NonRobotsRUs<\/i><\/strike><font size=1> &#8230; <strike>2x oops<\/strike>oops, oops<\/font>\n<\/ol>\n<p>You&#8217;ll have to take it from me, this saves us time.  And the other thing about all this is that you are saving your brain from distractions that robotic tasks can impair in their distractive capabilities, and in their time-wasting aspects, and combination of both.  You&#8217;ll notice in our script an approach to combat <i>Robotic<\/i> behaviours that may take over your life using (too many of?) these streamlining approaches &#8230; we deliberately break the <i>myImageUrl<\/i> link by adding the impossible image URL suffix &#8220;_new&#8221; so that using this AppleScript procedure alone can not create a good looking, but not overviewed, blog posting, and so will require your attention in <i>NonRoboticsRUS<\/i> Land sometime &#8230; yoo hoo?!  You may want to factor such thoughts in yourself for you overworked and underpaid and heavily deadlined workers out there, so you don&#8217;t forget to overview things as a matter of course.  This is a lot of what we are getting at with this blog, in general.  Don&#8217;t be &#8230;<\/p>\n<ul>\n<li>scared of scripting &#8230;<\/li>\n<li>be told by people it (ie. scripting, or any interpretive computer language) is &#8220;programming for dummies&#8221; &#8230; interpretive programming is very important, and am not sure it is not the major growth with computer coding, but am pretty sure it will be the &#8220;foot in the door&#8221; for lots of people trying to learn to code<\/li>\n<\/ul>\n<p>Have Mac OS X and TextWrangler and MacBook Pro and want to try, as a beginner or near beginner?  As mentioned above the fundamental &#8220;takeout&#8221; from above &#8230; <i>try<\/i> &#8230;<\/p>\n<p><code><br \/>\nTextWrangler -&gt; Script Icon Menu -&gt; Start Recording<br \/>\n<\/code><\/p>\n<p> &#8230; and <i>catch<\/i> you later after your several iterations of getting interested, trying new things, and getting those &#8220;oh, that&#8217;s how it works&#8221; moments.<\/p>\n<p>Just a last reminder to view the <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/AppleScriptEditor\/Clone_Blog_Posting.pdf\" title='Click picture'>slideshow<\/a>, for all this in &#8220;visual&#8221; context.  This blog posting comes to you <font color=red>faster<\/font> courtesy of this blog posting.<\/p>\n<hr>\n<p id='asspt'><font color=red>Previous relevant <a target=_blank title='AppleScript Surfing Primer Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/applescript-surfing-primer-tutorial\/'>AppleScript Surfing Primer Tutorial<\/a> is shown below.<\/font><\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/AppleScriptEditor\/AppleScript_Surfing.jpg\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"AppleScript Surfing Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Mac\/AppleScriptEditor\/AppleScript_Surfing.jpg\" title=\"AppleScript Surfing Primer Tutorial\"   \/><\/a><p class=\"wp-caption-text\">AppleScript Surfing Primer Tutorial<\/p><\/div>\n<p>What AutoHotKey is as a recording piece of functionality for Windows is, AppleScript is Mac OS X&#8217;s recording functionality equivalent.<\/p>\n<p>Today we shaped to want to show you the equivalent functionality AutoHotKey achieved surfing the net with Internet Explorer as shown below with <a target=_blank title='AutoHotKey Surfing ASP.Net Primer Tutorial' href='#asapt'>AutoHotKey Surfing ASP.Net Primer Tutorial<\/a> on a Mac (using Mac OS X Mavericks) and using Firefox, and ran into a roadblock that is either that AppleScript is not as featureful as AutoHotKey, or we&#8217;re not up to the AppleScript smarts required.  So we compromised and changed the WordPress blog code&#8217;s header.php to help out, some of the way, to helping via the <b>bold<\/b> changes below &#8230;<\/p>\n<p><code><br \/>\n<b><br \/>\nfunction precc() {<br \/>\n var ourwov=location.search.split('wopenall=')[1] ? location.search.split('wopenall=')[1].split('&')[0] : ' ';<br \/>\n var ows, owstwo, iot;<br \/>\n if (ourwov != ' ') {<br \/>\n  var hones=docgetclass(\"entry-title\", \"h1\");<br \/>\n  if (hones.length &gt; 0) {<br \/>\n   for (iot=0; iot&lt;hones.length; iot++) {<br \/>\n    if (ourwov == \"\" || hones[iot].innerHTML.toLowerCase().indexOf(ourwov.toLowerCase()) != -1) {<br \/>\n      ows=hones[iot].innerHTML.split(\"href=\");<br \/>\n      if (ows.length &gt; 1) {<br \/>\n       owstwo=ows[1].substring(1).split(ows[1].substring(0,1));<br \/>\n       window.open(owstwo[0], \"_blank\");<br \/>\n      }<br \/>\n    }<br \/>\n   }<br \/>\n  }<br \/>\n }<br \/>\n}<br \/>\n<\/b><br \/>\n&lt;\/script&gt;<br \/>\n&lt;\/head&gt;<br \/>\n&lt;body onload=\"<b>precc(); <\/b>courseCookies();\" &lt;?php body_class(); ?&gt;&gt;<br \/>\n<\/code><\/p>\n<p> &#8230; which make the <i>open location &#8230;<\/i> statement of our AppleScript script as below &#8230;<\/p>\n<p><code><br \/>\ntell application \"Finder\"<br \/>\n\tactivate<br \/>\n\tset target of Finder window 1 to folder \"Applications\" of startup disk<br \/>\n\tset name of application file \"Firefox.app\" of folder \"Applications\" of startup disk to \"Firefox.app\"<br \/>\n\topen application file \"Firefox.app\" of folder \"Applications\" of startup disk<br \/>\n\tdelay 4<br \/>\n\topen location \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/applescript?wopenall=applescript\"<br \/>\nend tell<br \/>\n<\/code><\/p>\n<p> &#8230; be more meaningful with the <i>?wopenall=applescript<\/i> being used to open the first page worth of blog posting links be opened as new tab web pages in Firefox &#8230; semi-cute, huh?!<\/p>\n<p>So if you have a Mac and Mac OS X and have the Firefox web browser installed and you look in Applications-&gt;Utilities and find the AppleScript Editor why not try <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/AppleScriptEditor\/FirefoxBrowser.txt_GETME\" title='FirefoxBrowser.scpt'>FirefoxBrowser.scpt<\/a> or see what happens with <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/AppleScriptEditor\/AppleScript_Surfing.jpg\">today&#8217;s tutorial picture<\/a> or just see the use, in isolation, of the WordPress changes with <a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/applescript?wopenall=applescript\" title='WordPress changes'>this link<\/a>.<\/p>\n<hr>\n<p id='asapt'>Previous relevant <a target=_blank title='AutoHotKey Surfing ASP.Net Primer Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/autohotkey-surfing-asp-net-primer-tutorial\/'>AutoHotKey Surfing ASP.Net Primer Tutorial<\/a> os shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/ASPNet\/AutoHotKeySurf\/\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"AutoHotKey Surfing ASP.Net Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/ASPNet\/AutoHotKeySurf\/aspnet_autohotkey-32of.jpg\" title=\"AutoHotKey Surfing ASP.Net Primer Tutorial\" id='xocsa' onmouseover=\" this.src=this.src.replace('-11of.j', '-12of.xj').replace('-12of.j', '-13of.xj').replace('-13of.j', '-14of.xj').replace('-14of.j', '-21of.xj').replace('-21of.j', '-22of.xj').replace('-22of.j', '-31of.xj').replace('-31of.j', '-32of.xj').replace('-32of.j', '-11of.xj').replace('.x', '.');   \"  \/><\/a><p class=\"wp-caption-text\">AutoHotKey Surfing ASP.Net Primer Tutorial<\/p><\/div>\n<p>When, some time back, we talked about the &#8220;sisterly&#8221; (to today&#8217;s ASP.Net) PHP way of approaching the AutoHotKey Surfing &#8220;interface&#8221; to a web application with <a target=_blank title='AutoHotKey Surfing PHP exec Tutorial' href='#aspet'>AutoHotKey Surfing PHP exec Tutorial<\/a> as shown below, it was inferred that we might approach this, in ASP.Net (using Microsoft&#8217;s <a target=_blank title='Microsoft Visual Studio' href='https:\/\/www.visualstudio.com\/en-us\/visual-studio-homepage-vs.aspx'>Visual Studio<\/a> <a target=_blank title='Integrated Development Environment information from Wikipedia ... thanks' href='https:\/\/en.wikipedia.org\/wiki\/Integrated_development_environment'>IDE<\/a> under Windows), by using a &#8220;new Process()&#8221; technique &#8230; well, please scratch that idea &#8230; Windows security has come down pretty hard on such thoughts &#8230; so what we did today was compartmentalize more and allow the &#8220;AutoHotKey Surfing&#8221; be handled by Windows desktop techniques and has as the &#8220;interface method&#8221; the existance, or not, of files &#8230; a favourite technique for us, as much as anything because &#8220;methodologies&#8221; containing &#8220;file_exists&#8221; (or its like) are common in so many &#8220;server&#8221; programming languages &#8230; &#8220;server&#8221; not &#8220;client&#8221; &#8230; so not Javascript.<\/p>\n<p>So we have &#8230;<\/p>\n<ol>\n<li>ASP.Net (VB.Net codebehind) code you could call <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/ASPNet\/AutoHotKeySurf\/AutoHotKey_Test.aspx_GETME\" title='AutoHotKey_Test.aspx'>AutoHotKey_Test.aspx<\/a> (or call it something better?!) &#8230; and its helper Windows (DOS) Command Line &#8230;<\/li>\n<li>Windows (DOS) Command Line batch file you could call <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/ASPNet\/AutoHotKeySurf\/autohk.bat_GETME\" title='ask.bnat'>autohk.bat<\/a> (which is designed to keep running, and we show with today&#8217;s <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/ASPNet\/AutoHotKeySurf\/\" title='click picture'>slideshow<\/a> which, today, doesn&#8217;t show the Task Schedular idea you might like that we showed with <a target=_blank href='https:\/\/www.rjmprogramming.com.au\/ITblog\/c-sorting-asp-net-primer-tutorial\/' title='C Sorting ASP.Net Primer Tutorial'>C Sorting ASP.Net Primer Tutorial<\/a>) <\/li>\n<\/ol>\n<p>As far as the code goes it assumes either the ASP.Net project will be located where the AutoHotKey compiler Ahk2Exe.exe is located or you could make the code better or it can work with the AutoHotKey compiler Ahk2Exe.exe on the computer&#8217;s PATH.  Anyway, try for yourself and if you settle on something there is the ASP.Net VB.Net <o>Dim prefix as String = &#8220;&#8221;<\/i> that would need amendment.<\/p>\n<p>Of <font size=5>more<\/font> <font size=2>than<\/font> <font size=4>somewhat<\/font> help today was <i>ASP.NET 3.5 Unleashed<\/i> by Stephen Walther &#8230; thanks.<\/p>\n<p>So please compare and contrast the server <font size=5>giants<\/font> and their software integration with some Windows operating system C.<\/p>\n<hr>\n<p id='aspet'>Previous relevant <a target=_blank title='AutoHotKey Surfing PHP exec Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/autohotkey-surfing-php-exec-tutorial\/'>AutoHotKey Surfing PHP exec Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/AutoHotKey\/php_autohotkey-72of.jpg\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"C Sorting PHP exec Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/AutoHotKey\/php_autohotkey-72of.jpg\" title=\"AutoHotKey Surfing PHP exec Tutorial\" id='oahk' onmouseover=\" this.src=this.src.replace('-72of.jpg', '-73of.xJPG').replace('-73of.JPG', '-51of.xjpg').replace('-51of.j', '-61of.xj').replace('-61of.jpg', '-62of.xJPG').replace('-62of.JPG', '-63of.xJPG').replace('-63of.JPG', '-72of.xjpg').replace('.x', '.');    \"  \/><\/a><p class=\"wp-caption-text\">AutoHotKey Surfing PHP exec Tutorial<\/p><\/div>\n<p>There&#8217;s another companion piece to our C &#8220;sorting&#8221; program tutorials finishing with <a target=_blank title='C Sorting PHP exec Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/c-sorting-php-exec-tutorial'>C Sorting PHP exec Tutorial<\/a> as of a couple of days ago.  And it&#8217;s a pretty important chapter if you are interested in software integration, and &#8220;meeting points&#8221;.   We talk about the &#8220;meeting point&#8221; of web and desktop applications through the use of mechanisms with the web application server language&#8217;s world &#8230; our web server language today is PHP and its <a target=_blank title='PHP exec() method information' href='http:\/\/php.net\/manual\/en\/function.exec.php'>exec<\/a> method, but it could be ASP.Net and a new Process() scenario if that&#8217;s how you roll &#8230; but it has to be Windows web hosting &#8230; as we do with some local web serving utilizing the brilliant <a target=_blank title='EasyPHP local Windows WAMP Apache\/PHP\/MySql web server landing page' href='http:\/\/www.easyphp.org'>EasyPHP<\/a> local web server &#8230; we can&#8217;t show you live on rjmprogramming.com.au domain because it is a Linux web server.   The difference today is that instead of using some C code compiled using the Digital Mars C compiler, we dynamically create a Windows executable, on the fly, using the brilliant <a target=_blank title='AutoHotKey landing page' href='http:\/\/www.autohotkey.org'>AutoHotKey<\/a> (last talked about at this blog with <a target=_blank href='#ast'>AutoHotKey StayAwake Tutorial<\/a> as shown below) and its *.ahk scripting language that can compile Windows executables for the Windows environment you find yourself in.<\/p>\n<p>The AutoHotKey script created  on the fly has behind its logic the brilliance of the code suggested at this very <a target=_blank title='Great AutoHotKey ideas link' href='http:\/\/www.autohotkey.com\/board\/topic\/92337-find-link-and-select\/'>useful link<\/a> &#8230; so, thanks.<\/p>\n<p>What happens on EasyPHP local (WAMP) Apache\/PHP\/MySql web server, under Windows, is that &#8230;<\/p>\n<ol>\n<li>we have our <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/AutoHotKey\/idea.txt_GETME\" title='idea.php'>idea.php<\/a> (and you are welcome to make a better name) &#8230; in the Document Root of EasyPHP (in our case at c:\\progra~1\\EasyPHP-12.1\\www\\idea.php &#8230; or http:\/\/127.0.0.1:8887\/idea.php) &#8230; and in the same place have &#8230;<\/li>\n<li>a subdirectory called AutoHotKey containing the AutoHotKey scripting software &#8230; so that on typing http:\/\/127.0.0.1:8887\/idea.php into the Internet Explorer address bar &#8230; <\/li>\n<li>an HTML form asks about a good Tag to look for at the blog <a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\" title=\"This blog\">here<\/a> and, optionally, within the blog posting titles that result, a search string to narrow down the scope &#8230; and then &#8230;<\/li>\n<li>we have the information for PHP to write out an AutoHotKey script for the purpose which PHP exec() arranges to dynamically create a Windows executable that &#8230;<\/li>\n<li>runs to open an Internet Explorer webpage for the Tag search and any accompanying offshoot webpages for matching title search blog postings of interest &#8230; cute, huh?<\/li>\n<\/ol>\n<p>&#8220;Who&#8221; (but they&#8217;re on &#8220;second&#8221;) says desktop work is irrelevant to web applications?  After all, the server side languages interface to what the desktop world looks like &#8230; a web server operating system.  It is worth remembering that no matter how &#8220;cloudy&#8221; things get there are still web servers at the end of all these trails.<\/p>\n<hr>\n<p id='cslpt'>Previous relevant <a target=_blank title='' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/c-sorting-command-line-piping-tutorial\/'>AutoHotKey Record and Compile Primer Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/AutoHotKey\/Record\/TaskMgr_MsgBox.m4v\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"AutoHotKey Record and Compile Primer Tutorial ... http:\/\/www.autohotkey.com\" src=\"http:\/\/www.rjmprogramming.com.au\/AutoHotKey\/Record\/TaskMgr_MsgBox.jpg\" title=\"AutoHotKey Record and Compile Primer Tutorial ... http:\/\/www.autohotkey.com\"  \/><\/a><p class=\"wp-caption-text\">AutoHotKey Record and Compile Primer Tutorial ... http:\/\/www.autohotkey.com<\/p><\/div>\n<p>Have you heard of AutoHotKey?<br \/>\nIt is a Windows (desktop) application (that is quite brilliant) which can record and replay mouse and keystrokes, or assign a group of actions to a HotKey.    Anybody into procedures and the operations side of I.T. will want to know about it, am sure.  <\/p>\n<p>Our unusual* video of a <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/AutoHotKey\/Record\/TaskMgr_MsgBox.m4v\" title=\"Click picture\">tutorial<\/a>  (which aims to start up the Windows Task Manager process and place an AutoHotKey MsgBox along with it, to allow the user to possibly close the <a target=_blank href='http:\/\/en.wikipedia.org\/wiki\/Windows_Task_Manager' title='Windows Task Manager information from Wikipedia'>Windows Task Manager<\/a> process using the AutoHotKey executable) today uses the Mac application PhotoBooth with the (video) effect called &#8220;Rollercoaster&#8221; (and set Edit->Auto Flip New Items to on (otherwise it will all be back to front!)) &#8230; am not sure of its relevance and whether you can see enough &#8230; so, if that is the case, we basically (on a Windows laptop) (* dedicated to Sydney Royal Easter Show):<\/p>\n<ol>\n<li>As a side issue, opened up a previous script (you can use Notepad) from the <i>Compiler<\/i> folder off the root <i>AutoHotKey<\/i> folder and copied some <i>MsgBox<\/i> code of interest.<\/li>\n<li>Used Windows Explorer to double click the <i>AutoScriptWriter<\/i> folder off the root <i>AutoHotKey<\/i> folder.<\/li>\n<li>Double clicked <i>AutoScriptWriter.exe<\/i>.<\/li>\n<li>At the &#8220;Initiate the following &#8216;Run&#8217; line upon Record&#8221; put <i>taskmgr<\/i><\/li>\n<li>Within the main body went Ctrl-V to paste in that code regarding <i>MsgBox<\/i><\/li>\n<li>Clicked <i>Record<\/i> button.<\/li>\n<li>Clicked anywhere in space on the Desktop.<\/li>\n<li>Clicked <i>Stop<\/i> button.<\/li>\n<li>Rearranged the lines of code such that <i>Run, taskmgr<\/i> sat up the top.<\/li>\n<li>Hit the <i>Save<\/i> button.<\/li>\n<li>Saved to the <i>Compiler<\/i> folder off the root <i>AutoHotKey<\/i> folder with the name TaskMgr_MsgBox (and it will give the default AutoHotKey extension of .ahk (for a script)).<\/li>\n<li>Used Windows Explorer to double click the <i>Compiler<\/i> folder off the root <i>AutoHotKey<\/i> folder.<\/li>\n<li>Right-clicked <i>TaskMgr_MsgBox.ahk<\/i> and chose <i>Run Script<\/i> &#8230; it worked .. great.<\/li>\n<li>Right-clicked <i>TaskMgr_MsgBox.ahk<\/i> and chose <i>Compile Script<\/i>.<\/li>\n<li>Double clicked resultant <i>TaskMgr_MsgBox.exe<\/i> (with the AutoHotKey &#8220;H&#8221; icon &#8230; cute, huh?) &#8230; it worked .. great.<\/li>\n<li>That resultant <i>TaskMgr_MsgBox.exe<\/i> is like any other Windows (desktop) executable that can be mapped to a shortcut or added to a taskbar or menu or be mapped to a keyboard shortcut, or be called by a .bat script, or be placed in a user Startup Programs directory, or be the activated program of a <a target=_blank href='http:\/\/en.wikipedia.org\/wiki\/Windows_Task_Scheduler' title='Windows Task Schedular information from Wikipedia'>Windows Task Schedular<\/a> task, or be forked by another Windows executable, for any future use.<\/li>\n<\/ol>\n<p>Here is a link for some downloadable programming AutoHotKey script source code you could rename to <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/AutoHotKey\/Record\/TaskMgr_MsgBox.ahk_GETME\" title=\"TaskMgr_MsgBox.ahk\">TaskMgr_MsgBox.ahk<\/a><\/p>\n<p>Here is a <a target=_blank title='AutoHotKey MsgBox' href='http:\/\/www.autohotkey.com\/docs\/commands\/MsgBox.htm'>link<\/a> for more information regarding AutoHotKey&#8217;s MsgBox functionality &#8230; and a lead in for a lot of other AutoHotKey functionality documentation &#8230; a feast of brilliant Windows application information.<\/p>\n<p>Here is a link to the home of <a target=_blank title='AutoHotKey' href='http:\/\/www.autohotkey.com'>AutoHotKey<\/a>.<\/p>\n<hr>\n<p id='ast'>Previous relevant <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=4296'>AutoHotKey StayAwake Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/AutoHotKey\/StayAwake\/\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"AutoHotKey StayAwake Tutorial ... http:\/\/www.autohotkey.com\" src=\"http:\/\/www.rjmprogramming.com.au\/AutoHotKey\/StayAwake\/AutoHotKey_StayAwake-36of.jpg\" title=\"AutoHotKey StayAwake Tutorial ... http:\/\/www.autohotkey.com\"  \/><\/a><p class=\"wp-caption-text\">AutoHotKey StayAwake Tutorial ... http:\/\/www.autohotkey.com<\/p><\/div>\n<p>Have you heard of AutoHotKey?<br \/>\nIt is a Windows application (that is quite brilliant) which can record and replay mouse and keystrokes, or assign a group of actions to a HotKey.    Anybody into procedures and the operations side of I.T. will want to know about it, am sure.  <\/p>\n<p>We have introduced you to AutoHotKey with this previous AutoHotKey Primer Tutorial <a href=\"#pahkpt\">here<\/a>.<\/p>\n<p>Then we went a bit further with AutoHotKey with this previous More AutoHotKey Primer Tutorial <a href=\"#mat\">here<\/a>.<\/p>\n<p>We talked about <a target=_blank title='Terminate and Stay Resident concept explained by Wikipedia ... thanks' href='http:\/\/en.wikipedia.org\/wiki\/Terminate_and_Stay_Resident'>stay-resident<\/a> programs earlier with <a target=_blank title='Menu for Windows Command Prompt Via Batch File Tutorial' href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=4196'>Menu for Windows Command Prompt Via Batch File Tutorial<\/a>.   Our tutorial today uses AutoHotKey to create one.   It uses the ToolTip functionality of Windows to keep the cursor busy.   In the tutorial we show it being run:<\/p>\n<ul>\n<li>right-click on AutoHotKey script file<\/li>\n<li>compile script into StayAwake.exe and Run As Administrator (but you could also run it as a mere mortal!)<\/li>\n<li>copy StayAwake.exe into All Users startup programs directory, logout and login for it to stay resident<\/li>\n<\/ul>\n<p>Please enjoy our tutorial with some stay-resident approaches shown <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/AutoHotKey\/StayAwake\/' title='AutoHotKey StayAwake Tutorial'>here<\/a>.  <\/p>\n<p>Link to downloadable AutoHotKey programming script file <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/AutoHotKey\/StayAwake\/StayAwake.ahk_GETME' title='StayAwake.ahk'>StayAwake.ahk<\/a><\/p>\n<hr \/>\n<p id=\"mat\">Previous <a target=_blank title='More AutoHotKey Tutorial' href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=3606'>More AutoHotKey Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/AutoHotKey\/More\/\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"More AutoHotKey Tutorial ... http:\/\/www.autohotkey.com\" src=\"http:\/\/www.rjmprogramming.com.au\/AutoHotKey\/More\/AutoHotKey_More-14of.jpg\" title=\"AutoHotKey Primer Tutorial ... http:\/\/www.autohotkey.com\"  \/><\/a><p class=\"wp-caption-text\">More AutoHotKey Tutorial ... http:\/\/www.autohotkey.com<\/p><\/div>\n<p>Have you heard of AutoHotKey?<br \/>\nIt is a Windows application (that is quite brilliant) which can record and replay mouse and keystrokes, or assign a group of actions to a HotKey.    Anybody into procedures and the operations side of I.T. will want to know about it, am sure.  <\/p>\n<p>We have introduced you to AutoHotKey with this previous AutoHotKey Primer Tutorial <a href=\"#pahkpt\">here<\/a>.<\/p>\n<p>On a previous tutorial Windows Command Prompt Via Batch File we introduced you to some Windows Command Prompt commands and you can see that tutorial <a target=_blank href='#pwcpvbf' title='Windows Command Prompt Via Batch File'>here<\/a>.   Our tutorial here builds on this in that the Windows Command Prompt batch file used for making that tutorial and downloadable here with rename to <a target=_blank title='Rename to xxx.bat and put into directory c:\\Users\\user\\ please' href='http:\/\/www.rjmprogramming.com.au\/AutoHotKey\/More\/xxx.bat_GETME'>xxx.bat<\/a> created\/copied into c:\\Users\\user\\ please (if no good you will have to dive in and adjust redo351.ahk yourself now, and learn about the wonders of AutoHotKey!), was deliberately made so that it can be stepped through slowly by entering {ENTER} key a lot (in xxx.bat this is done by set \/p commands), and we have here the pressing of those {ENTER}s (ie. simulating answer to set \/p sleeping for 2 seconds between each one &#8230; here is your homework &#8230; make it wait for 3 seconds between each {ENTER} then compile it then rerun it) with an AutoHotKey script largely created by hand (or via leads from recordings (do you remember <a target=_blank title='Microsoft Excel VBA for CSV Primer Tutorial' href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=2557'>Microsoft Excel VBA for CSV Primer Tutorial<\/a> where similar thoughts were discussed as ideas for how to &#8220;get into programming&#8221;?)) and you can also download this here and rename to <a target=_blank title='Rename to xxx.bat and put into directory c:\\Users\\user\\ please ... if no good you will have to dive in and adjust redo351.ahk yourself now, and learn about the wonders of AutoHotKey!' href='http:\/\/www.rjmprogramming.com.au\/AutoHotKey\/More\/redo351.ahk_GETME'>redo351.ahk<\/a> and compile to redo351.exe using AutoHotKey&#8217;s compiler.   If, when you do all that you run it and it stands there looking at you like a dead mullet it will be because your Command Prompt window for such a scenario does not end up being called &#8220;C:\\Windows\\system32\\cmd.exe&#8221; and you will need to change this throughout redo351.ahk and then recompile (after stopping previous go (with <a target=_blank title='Windows Task Manader and Command Prompt Tutorial' href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=1352'>Windows Task Manager<\/a> maybe)) and test again.   An AutoHotKey program called AU3_Spy.exe can help identify the names (or titles) of Windows, as required.<\/p>\n<p>Please enjoy our tutorial with some recording functionality shown as well as the little &#8220;subplot&#8221; above (where the butler actually &#8220;did it&#8221;) <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/AutoHotKey\/More' title='More AutoHotKey Tutorial'>here<\/a>.   The subplot is represented by the last 6 slides of the tutorial.<\/p>\n<hr \/>\n<p id=\"pahkpt\">Previous tutorial <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=616' title='AutoHotKey Primer Tutorial'>AutoHotKey Primer Tutorial<\/a> below &#8230;<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/AutoHotKey\/Example\/\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"AutoHotKey Primer Tutorial ... http:\/\/www.autohotkey.com\" src=\"http:\/\/www.rjmprogramming.com.au\/AutoHotKey\/Example\/ahk_0of.png\" title=\"AutoHotKey Primer Tutorial ... http:\/\/www.autohotkey.com\"  \/><\/a><p class=\"wp-caption-text\">AutoHotKey Primer Tutorial ... http:\/\/www.autohotkey.com<\/p><\/div>\n<p>Have you heard of AutoHotKey?<\/p>\n<p>It is a Windows application (that is quite brilliant) which can record and replay mouse and keystrokes, or assign a group of actions to a HotKey.    Anybody into procedures and the operations side of I.T. will want to know about it, am sure.  <\/p>\n<p>Don&#8217;t want to show my age, but first got keen about AutoHotKey because I couldn&#8217;t believe the day  (was it when Windows 5 came out?) that Microsoft abandoned the cute program called Recorder, that came with Windows.  For myself, this was a moment of deep mourning, like when <a target=_blank title='Second half is not worth watching!' href='https:\/\/www.youtube.com\/watch?v=T52404rbsa0'>Collingwood lost to Carlton in the 1970 Grand Final<\/a>.<\/p>\n<p>In this primer  <a target=_blank title='click picture' href='http:\/\/www.rjmprogramming.com.au\/AutoHotKey\/Example\/'>tutorial<\/a> see a brief install then a record-compile-replay cycle.<br \/>\nIn this link you can look at some of the <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/AutoHotKey' title='AutoHotKey usage'>personal usage<\/a> of AutoHotKey.\n<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d616' onclick='var dv=document.getElementById(\"d616\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?s=AutoHotKey\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d616' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr \/>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d3606' onclick='var dv=document.getElementById(\"d3606\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?s=AutoHotKey\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d3606' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr \/>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d4296' onclick='var dv=document.getElementById(\"d4296\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?s=AutoHotKey\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d4296' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d7239' onclick='var dv=document.getElementById(\"d7239\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?tag=AutoHotKey\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d7239' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d16184' onclick='var dv=document.getElementById(\"d16184\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/?tag=PHP\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d16184' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d16251' onclick='var dv=document.getElementById(\"d16251\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/?tag=ASP.NET\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d16251' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d16251' onclick='var dv=document.getElementById(\"d16251\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/?tag=applescript\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d16251' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\n<p><font color=red><\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d31127' onclick='var dv=document.getElementById(\"d31127\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/applescript\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d31127' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<p><\/font><\/p>\n<hr>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d44291' onclick='var dv=document.getElementById(\"d44291\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/recorder\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d44291' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>A long time ago I was a fan of a modestly presented &#8220;gem&#8221; of a (Microsoft) desktop application called &#8220;Windows Recorder&#8221; to record &#8220;screen goings on&#8221;, as we remembered below with WordPress Blog Posting AppleScript TextWrangler Helper Primer Tutorial. This &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/windows-10-steps-recorder-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,29,37],"tags":[782,2741,1151,2885,1319,1435,1686,2886],"class_list":["post-44291","post","type-post","status-publish","format-standard","hentry","category-elearning","category-operating-system","category-tutorials","tag-microsoft","tag-recorder","tag-slideshow","tag-steps-recorder","tag-tutorial","tag-windows","tag-windows-10","tag-windows-recorder"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/44291"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=44291"}],"version-history":[{"count":4,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/44291\/revisions"}],"predecessor-version":[{"id":44295,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/44291\/revisions\/44295"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=44291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=44291"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=44291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}