I'm real new to autoit, and to be honest - just as new to programming.
I've had a bit of success with autoit and have made a few small working scripts.
I'm trying something a bit more elaborate and am stuck - maybe someone can help me.
Basically, I call a function called GetSunColor from a weather site. Depending on the color, I assign the variable $sun either 1,2,3,4
The problem is, once the function is executed and returns to the main part of the script, the value of $sun is not retained.
When I ran a seperate script just scanning the color of the sun on a webpage, I did get the exact colors and confirmed that the function was assigning the variable. However, once I implemented the function, the variable loses the value that was just placed into it.
Hope this is enough info - I appreciate any help.
Thanks