RE: Read Text from a file This is what the script says: [code]Function called: OnEvent_ChatWndSendMessage Function called: OnEvent_ChatWndSendMessage Error: Object doesn't support this property or method (code: -2146827850) File: AssaultCube Read.js. Line: 18. Functi...
RE: Read Text from a file [img]http://www.rantages.com/acservmsnfault.JPG[/i mg] There it is I'm a pretty much noob at this debugging and stuff ._. what exactly do I need to do starting from the beginning?
RE: Read Text from a file I find the official documents rather confusing :S it doesn't have examples and stuff so it's rather hard to figure out and I wont say that I'm good in English either. It'd be a great help if someone would create the script for me :(
RE: Read Text from a file This is what I did.. But the command isn't recognized D: [code]function ReadLineFromFile(sFile, nLine) { var f = new ActiveXObject("Scripting.FileSystemObject").Open TextFile(sFile, 1 /* ForReading */); var s = f.ReadAll(); f.Close() ...
Read Text from a file Alright, so I need a script that reads a specific line from a specific file and then parse it and output the parsed text onto the current chat window. Say it reads line 255 from a text file Then it removes a certain string from the line and outputs i...