Does anyone know how to make a simple VBscript that can count from 1 to 100 in notepad? I know its something along the lines of Code (Text): set wshell = createobject("wscript.shell") createobject("wscript.shell") wscript.sleep 5000 for i=1 to 100 wshell.sendkeys "YOUR MESSAGE HERE" wshell.sendkeys "{enter}" next That will spam whatever you put in YOUR MESSAGE HERE 100 times but I want the code where it will go from 1 then go to 2, 3, 4, 5 etc. I know its like 1 line of code that you can change but I don't know what it is.
should go something like createobject("wscript.shell") wscript.sleep 5000 for i=1 to 100 wshell.sendkeys %%i wshell.sendkeys "{enter}" next I know for a fact that you will use the "i" as the var as this is the one incrementing