Dear Johny,
thank you for your example, which I have slightly modified to suggest further elaboration of your evolving AutoScripter (. Yes I can clearly see it :- ).
It is a good feeling to use as little as possible keyboard-input to get things done. What you do is stepping in the right direction and as many as possible scripting and programming users should support it.
As you invite suggestions, here is my next one:
Let's sketch it with the terms of the following snippet:
Code:
!::
; Capture
; Capture 4 characters, exclude the starting "!"
; timeout of 3 seconds (ErrorLevel timeout not checked but it would be preferable)
; Separate filename and todo mode
Input KeysCapt, T3L4 ;
; Process command
StringMid, filnam, KeysCapt, 1, 3
StringMid, todo, KeysCapt, 4, 1
if KeysCapt<>
MsgBox, filnam=%filnam% and todo=%todo%
if todo=1
MsgBox, %todo% -> run filname=%filnam%
else if todo=2
MsgBox, %todo% -> put Clipboard into filename=%filnam% and run it
else if todo=3
MsgBox, %todo% -> call AutoScriptWriter, put result into filename=%filnam% and run it
else if todo=4
MsgBox, %todo% -> edit filname=%filnam% or create a new one, if it doesn't exist
else
{
MsgBox %todo% -> There is no such command, therefore we send the exclamation-mark
send !
;doesn't work. How,at this place, can we temporarily disable the capture and enable typing ! ? Saving old clipboard, putting ! in it, pasting it at current cursor pos, if in edit field, restoring clipboard? Shouldn't we better abort without typing here. Short typing ! is easier.
}
return
Question:
How can we modify the autorepeat-function in the following way?
Since the autorepeat function for the alphanumeric keys is nearly never used, what about the following?
Type alpha chars as usual, but as soon as the autorepeat delay is timed out, produce visible
todo indices 1,2,3,4,x,1,..4,x,....... together with a visible keyrelated automatic
filename:
.
E.g. If you keydown a and wait, you get successively the strings (in a visible inputfield)
a-_1
a-_2
a-_3
a-_4
a-_a
...
filename=a-_1 .. a-_4
todo=1..4,a
If you keyup on 1...4 do the appropriate cmds else abort with typing the respective key, you typed.
Can this be done with a script?
Of course I know, that for user friendlyness, the indices should later be elaborated to comment strings or icons and perhaps be orchestrated by some audio feedback. Idea, let the computer "read" it aloud. 
PS.:
Here comes a little memo for the sake of the freedom of the community friendly programmers/scripters.
No patent shall be made on (midikb)
hotpatterns, as a generalization of hotstrings. Hotpatterns in general are defined here as patterns of arbitrary body movements or other (electric) biofeedback, captured for machine cmds.
Don't forget e.g. voiced speech patterns (including pitch, volume and timbre, ..., normally discarded in speech recognition) and (mouse) gestures.
MidiHotpatterns are a rich subset of those general hotpatterns.
Keykit is a
freeware programming Midi system that allows to detect (regular) midi patterns of high complexity, that can be encoded to strings, sent as cmd triggers to appropriate
freeware such as
AutoHotKey,
AutoIt,
PowerPro, ... .
In the meantime, for the benefit of all PcKbOnly users, every one in the know and with goodwill, is invited to emulate the potential as good as possible.
Although MidiKb allows to generate the todo index (and more) with one single stroke, the PcKb can hopefully simulate velocity with timed typing.
For the benefit of the greater community this note is also stored in diigo and some other social bookmark communities for external annotation and
as document, that nobody can steal and block these and the forthcoming (straightforward) ideas by some patent
