Hi, so i am in need of this func to be able to finish my project, i have found this jewel in old posts from 2011.
The problem is that is not running the script
HotKeySet("q", "read")
Func read()
$filename = "configs.txt"
Dim $ArrayOfURLs[1]
_FileReadToArray($filename,$ArrayOfURLs)
Local $randomURL = Random(1, UBound($ArrayOfURLs) - 1,1)
_IECreate($ArrayOfURLs[$randomURL])
MsgBox($MB_SYSTEMMODAL, $randomURL, 10)
Endfunc
What should this do? Should read a random line from "configs.txt", if someone can help me with this, i would appreciate it a lot.
#inluded: IE.au3,file.au3,msgboxconstants.au3