lint Posted November 26, 2004 Share Posted November 26, 2004 ugh...topic name speaks for it self? $var = IniRead("config.ini", "spam", "spammsg", "spammsg Key Not Found") While 1 dim ClipPut($spamMsg) Sleep(1) Send("^v{ENTER}") Sleep(500) Wend Link to comment Share on other sites More sharing options...
Developers Jos Posted November 26, 2004 Developers Share Posted November 26, 2004 dim ClipPut($spamMsg) Dim is used for defining an Variable so this is invalid. its either: ClipPut($spamMsg) or $rc = ClipPut($spamMsg) SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
ezzetabi Posted November 26, 2004 Share Posted November 26, 2004 (edited) It does not speak at all... I guess you meant... $spamMsg = IniRead("config.ini", "spam", "spammsg", "spammsg Key Not Found") ClipPut($spamMsg) While 1 Sleep(500) Send("^v{ENTER}") Wend And other spamming user that uses Autoit to bother people? Wow.... Edit: ehy, JdeB. It is the second time in few seconds that we give almost the same answer... What do you think? Good or bad? Edited November 26, 2004 by ezzetabi Link to comment Share on other sites More sharing options...
lint Posted November 26, 2004 Author Share Posted November 26, 2004 (edited) thanks...but now its telling me varible is used without been declared....im new to autoit... no not to brother people...some games u can trade in them and i wanted something to say what im trading... Edited November 26, 2004 by lint Link to comment Share on other sites More sharing options...
ezzetabi Posted November 26, 2004 Share Posted November 26, 2004 AutoItSetOption('MustDeclareVars',1) Link to comment Share on other sites More sharing options...
Developers Jos Posted November 26, 2004 Developers Share Posted November 26, 2004 i will give an different answer this time... You have to declare the $spamMsg variable first before you can use it. What do you want to PUT into the clipboard ?? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
lint Posted November 26, 2004 Author Share Posted November 26, 2004 nothing atm...but i can change it in the config.ini........but right now the config says kah bah gee !!!! Link to comment Share on other sites More sharing options...
Developers Jos Posted November 26, 2004 Developers Share Posted November 26, 2004 (edited) nothing atm...but i can change it in the config.ini........but right now the config says kah bah gee !!!!<{POST_SNAPBACK}>I think you are confused.....You read the value from the INI into variable $var.$var = IniRead("config.ini", "spam", "spammsg", "spammsg Key Not Found")Then you use a different variable name in the function:ClipPut($spamMsg)So i guess you want:ClipPut($var) Edited November 26, 2004 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
lint Posted November 26, 2004 Author Share Posted November 26, 2004 (edited) I think you are confused.....You read the value from the INI into variable $var.$var = IniRead("config.ini", "spam", "spammsg", "spammsg Key Not Found")Then you use a different variable name in the function:ClipPut($spamMsg)So i guess you want:ClipPut($var)<{POST_SNAPBACK}>yes i can be very confuzed....thanks for helping me....i dont need help anymore..thanks again Edited November 26, 2004 by lint 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