First try:
Code: Select all
input:=""
Loop
{
Input, in, L1
Send {enter}
}
Second try:
Code: Select all
input:=""
Loop
{
Input, UserInput, T0.2
if (UserInput != "")
{
Send {enter}
}
}
Any suggestions or thoughts?
Thanks!
Code: Select all
input:=""
Loop
{
Input, in, L1
Send {enter}
}
Code: Select all
input:=""
Loop
{
Input, UserInput, T0.2
if (UserInput != "")
{
Send {enter}
}
}
Masonjar13 wrote:Not sure I understand the point; what value does this have for a toddler?
I want the toddler to be able to view a presentation, where he/she can go to the next slide by pressing any key.
This was the first solution I tried, as mentioned in the OP, and it misses some simple keystrokes when repeated quickly.Masonjar13 wrote:Remove the timeout completely and use the limit option. Set the limit to 1, and you should be good to go. Note that this does not pick up every key pressed, only keys that output characters (F-keys, arrow keys, etc. will be missed).
Thanks. This solution disables some keys using keyboard mapping. I looked into that option, but it does not seem very elegant. You have to list every single key... your script becomes 100+ lines long instead of <10 lines. Do you think this is the optimal solution?wolf_II wrote:here is a thought: http://www.dcmembers.com/skrommel/download/toddlertrap/
Code: Select all
keys:=["a","b","c"]
for i,a in keys
hotkey,% a,sendit
return
sendit:
sendInput {enter}
return
No, I misunderstood the purpose of your script.Do you think this is the optimal solution?