I've been trying to tinker around AHK and its been far to many years ago since i last used this.
I recall making #persistent ForceInstances of sending certain texts every X millisecond, however, I am now trying to assist my kid who has slight reading/memorization problems.
What i am basically looking for, is assistance/pointers in where to look for my troubles due to me wanting to learn this again.
I've made few simple autosend text on a notepad
Like, opening the AHK script, and opening a notepad, and every 1min it writes a new word.
Code: Select all
#Persistant, SendKey, ForceIntance
SendKey:
SetTimer, Send_1, 30.000
SetTimer, Send_2, 60.000
Return
Send_1:
Send, I need assistance in memorization{^a delete}
Return
Send_2:
Send, Could you assist me?{^a delete}
Return
Esc::ExitApp
Now this is a very basic script i do know. Basically just writing this text, then deletes it before a new text appears.
What is janky, is that I would like to for instance make a list of 900-1500 different lines, and for the script to send a random text of these, so what comes forth is never the same message.
Iknow it sounds weird, but as i said, I am quite interested in learning this to assist my kid, and hopefully he can also learn scripting as a memorization technique after that to learn a system of sorts.
But with this text, i suddenly get the same text over and over every minute and 30 second, which isnt what i want. I sorta want 1 message sent every 2 minutes, but the text changes everytime, and then deletes itself.
I hope someone could point me in the right direction if this makes sense at all.
Yours Sincerely Dahl.