inputbox, MyVariable
Return
F2::
Send, %MyVariable%
Return
Or
fileRead, MyFileContent, c:/Some/file/path.txt
Return
F2::
Send, %MyFileContent%
Return
Hope it helps
This is what i got now
Inputbox:
Gui, Input:-Caption
Gui, Input:Add, Text, x0 y0 w443 h40 +BackgroundTrans gUImove4
Gui, Input:Add, Picture, x468 y4 +BackgroundTrans gclose4 , Lib\Script_Images\exitcross.png
Gui, Input:Add, Picture, x0 y0 +Background, Lib\Script_Images\VIIPaydayscript.png
Gui, Input:Add, Text, x76 y10 w130 h50 +BackgroundTrans cWhite, Type What you want to spam each 40 seconds!
Gui, Input:Add, Edit, x216 y10 w250 h50 vTyping, Text to be typed
Gui, Input:Add, Picture, x25 y115 w80 h30 +BackgroundTrans gBEGINBOT, Lib\Script_Images\start.png
Gui, Input:Add, Picture, x109 y115 w80 h30 +BackgroundTrans gEXIT, Lib\Script_Images\stop.png
Gui, Input:Font, cWhite s10 Q5 , Century Gothic
Gui, Input:Add, Text, x220 y74 cWhite BackgroundTrans vT1, 00:00:00
Gui, Input:Font, cWhite s10 Q5 , Century Gothic
Gui, Input:Add, Text, x120 y100 w250 cWhite +Center BackgroundTrans vgui_status, Initiating
Gui Input:+AlwaysOnTop +ToolWindow
Gui, Input:Show, w500 h147
Return
uiMove4:
PostMessage, 0xA1, 2,,, A
Return
Close4:
Gui, Input:Destroy
return