Jump to content

no varible given for


lint
 Share

Recommended Posts

  • Developers

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

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 by ezzetabi
Link to comment
Share on other sites

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 by lint
Link to comment
Share on other sites

  • Developers

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

  • Developers

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 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

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 by lint
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...