pretty basic code, opens notepad and uses a combination of an api timer and the sendkeys function. should be fairly useful for beginners wanting help with sendkeys/cursor manipulation and the shell command.
Assumes
big assumption is you use notepad, if you don't change the Shell("notepad.exe") line. any text editor should work fine
Side Effects
the numlock/capslock keys flash when the function is working, as soon as it's ended they stop. dunno why, if you know how to fix it, leave a msg/mail me.
API Declarationsgettickcount