2DWorlds Forums

Full Version: AutoIt stuff
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
post your AutoIt creations here.

i'll start with this program, made in about 30 minutes(yay for looking for documentation every time Confusedcared: ) to type text into boxes where you can't paste things directly(most notably, my school's online essay system, even though i don't use it anymore)

Code:
Opt("SendKeyDownDelay",1)
Opt("SendKeyDelay",1)
$File=FileOpen("String.txt")
If $File == -1 Then
MsgBox(0,"Error","String.txt not found")
Else
MsgBox(0,"TypePaster","Select the window then click OK here")
Send(FileRead($File),1)
MsgBox(0,"TypePaster","Paste Successful!")
EndIf