Simple auto-typer with AppleScript

Solution 1:

Try using delay 2 instead of return 2return exits from the loop!