Kyme Posted June 27, 2008 Posted June 27, 2008 how i can make one skript to use this IniRead(@ScriptDir & "\data.dll", "Question", "1", "") IniRead(@ScriptDir & "\data.dll", "Question", "1", "") IniRead(@ScriptDir & "\data.dll", "Question", "2", "") IniRead(@ScriptDir & "\data.dll", "Question", "3", "") IniRead(@ScriptDir & "\data.dll", "Question", "4", "") IniRead(@ScriptDir & "\data.dll", "Question", "5", "") whit random i wanna make one InputBox("Password", IniRead(@ScriptDir & "\data.dll", "Question", "1", ""), "", "*") and to use random IniRead for each start... can be that posible? tnx
PsaltyDS Posted June 27, 2008 Posted June 27, 2008 how i can make one skript to use this IniRead(@ScriptDir & "\data.dll", "Question", "1", "") IniRead(@ScriptDir & "\data.dll", "Question", "1", "") IniRead(@ScriptDir & "\data.dll", "Question", "2", "") IniRead(@ScriptDir & "\data.dll", "Question", "3", "") IniRead(@ScriptDir & "\data.dll", "Question", "4", "") IniRead(@ScriptDir & "\data.dll", "Question", "5", "") whit random i wanna make one InputBox("Password", IniRead(@ScriptDir & "\data.dll", "Question", "1", ""), "", "*") and to use random IniRead for each start... can be that posible? tnx Look up Random() in the help file and try this: InputBox("Password", IniRead(@ScriptDir & "\data.dll", "Question", String(Random(1, 5, 1)), ""), "", "*") This also converts the number to a string, which AutoIt probably would have automagically done for you, but it makes the point that the value name is a string, not an integer. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
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