slupremmand Posted October 11, 2006 Posted October 11, 2006 i need some help, im not good with this scripting stuff... i have been trying to make a script that will take some lines from a .ini or .txt file and send it to an array. said in another way, i want fill out a logon window (username/password) with some lines in a txt or ini... i can make the script read a file, but i dont know how to send the lines?!?! any one got some tips?
Valuater Posted October 11, 2006 Posted October 11, 2006 straight from help $var = IniReadSection("C:\Temp\myfile.ini", "section2") If @error Then MsgBox(4096, "", "Error occurred, probably no INI file.") Else For $i = 1 To $var[0][0] MsgBox(4096, "", "Key: " & $var[$i][0] & @CRLF & "Value: " & $var[$i][1]) Next EndIf 8)
Xenobiologist Posted October 11, 2006 Posted October 11, 2006 HI, have a look at _FileReadToArray() instead of MsgBox place Send. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now