Information related to the use of iMacros for form filling and data upload.
Hannes, Tech Support
This piece of code reads a textfile "test.txt" and stores its content in a variable "inputData" (taken from topic http://forum.imacros.net/viewtopic.php?p=4965#4965
Code: Select all
Dim objFileSystem, objInputFile
Set objFileSystem = CreateObject("Scripting.fileSystemObject")
Set objInputFile = objFileSystem.OpenTextFile("test.txt", 1)
' read everything in an array
inputData = objInputFile.ReadAll
- Posts: 6
- Joined: Wed Jan 14, 2009 1:46 pm
Can this be used with the Firefox .js support with textfiles which contain conditional statements? such as checking for captcha, if found prompt for captcha, else next iimplay, on captchaprompt ok button submit, iimplay...
That would make my life a whole lot simpler