slupremmand Posted September 25, 2006 Share Posted September 25, 2006 Is it possible to make a script that takes lines from a txt document and uses it fx. as username/password? i am using "Send" command as it is, but would like to be abel to take it from a txt so that i dont have to change the script and compile a new exe, when my password gets outdated... Link to comment Share on other sites More sharing options...
AceLoc Posted September 25, 2006 Share Posted September 25, 2006 (edited) yes it is. Edited September 25, 2006 by aceloc [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
j'tje Posted September 25, 2006 Share Posted September 25, 2006 Is it possible to make a script that takes lines from a txt document and uses it fx. as username/password?i am using "Send" command as it is, but would like to be abel to take it from a txt so that i dont have to change the script and compile a new exe, when my password gets outdated...There are different ways to accomplish this. Look for "FileReadLine" or "IniRead" in the help. Using the @ScriptDir macro enables you to store the .txt or .ini file in the same directory your script is in. Link to comment Share on other sites More sharing options...
slupremmand Posted September 25, 2006 Author Share Posted September 25, 2006 There are different ways to accomplish this. Look for "FileReadLine" or "IniRead" in the help. Using the @ScriptDir macro enables you to store the .txt or .ini file in the same directory your script is in.thanks...i am abel to read the lines from the file, how do i use them with the send command, i have tried to use the help but was unabel to find anything usefull... Link to comment Share on other sites More sharing options...
Xenobiologist Posted September 25, 2006 Share Posted September 25, 2006 (edited) Hi, have a look at IniRead and IniWrite that should fit better then a txt file. Edit: Maybe even at _StringEncrypt() to en/decrypt the passwort. So long, Mega Edited September 25, 2006 by th.meger 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 Link to comment Share on other sites More sharing options...
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