Have you heard of AutoHotKey?
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.
We have introduced you to AutoHotKey with this previous AutoHotKey Primer Tutorial here.
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 here. 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 xxxbat created/copied into c:Usersuser 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 โฆ here is your homework โฆ 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 Microsoft Excel VBA for CSV Primer Tutorial where similar thoughts were discussed as ideas for how to โget into programmingโ?)) and you can also download this here and rename to redo351
ahk and compile to redo351.exe using AutoHotKeyโ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 โC:Windowssystem32cmd.exeโ and you will need to change this throughout redo351.ahk and then recompile (after stopping previous go (with Windows Task Manager maybe)) and test again. An AutoHotKey program called AU3_Spy.exe can help identify the names (or titles) of Windows, as required.
Please enjoy our tutorial with some recording functionality shown as well as the little โsubplotโ above (where the butler actually โdid itโ) here. The subplot is represented by the last 6 slides of the tutorial.
Previous tutorial Windows Command Prompt Via Batch File below โฆ
Tutorial โฆ
Transcript:
Do you own a Windows computer?
Have you heard of Command Prompt, or MS-DOS, or the DOS prompt?
It is like Bash Scripting on Linux or Korn Shell scripting on Unix
and could open a whole new world of possibilities for your work
in Windows.
If you are a beginner you need to start slowly, and in this
tutorial we will only do benign commands that, for the most part,
read rather than write anything.
Weโll do a bit of:
cd
echo
cd [place]
dir
type
more
tasklist
vol
In your search engine look for โMS-DOS commandsโ for further
information. Once you see a command of interest, at
Command Prompt you can type:
help [command]
โฆ to find further information.
So here goes โฆ we will open the Command Prompt application โฆ then run a preprepared
Batch script โฆ but just concentrate on its commands, rather than doing scripting
โฆ that is for later โฆ at the end of the presentation the Batch script is typed
out for you.
Letโs explore some more command prompt commands below on 20/3/2013 โฆ
Great Command Prompt Information Link
If this was interesting you may be interested in this too.
Previous tutorial AutoHotKey Primer Tutorial below โฆ
Have you heard of AutoHotKey?
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.
Donโt want to show my age, but first got keen about AutoHotKey because I couldnโ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 Collingwood lost to Carlton in the 1970 Grand Final.
In this primer tutorial see a brief install then a record-compile-replay cycle.
In this link you can look at some of the personal usage of AutoHotKey.
If this was interesting you may be interested in this too.
If this was interesting you may be interested in this too.