Jump to content

Alpha1

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Alpha1

  1. @JLogan3o13 Thank you very much! Can you help me with sending the result key by key too?
  2. I am interested in making this function work, then i can use it in the main script
  3. @JLogan3o13, thank you for your answer! Ok, sure thing, so the program must read one line from configs.txt(random) which is placed in the same folder as the script. After reading it has to send the line which was just read, key by key. What will the program read from those lines? 100 101 102 . . . 297
  4. 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
×
×
  • Create New...