quote:
Originally posted by Matti
quote:
Originally posted by Yustme
It seems to skip all the email addresses to log in and logs only the last email address. Something wrong with my timer?
Well yes, you should be putting a delay inside your loop instead of before calling the function with the loop.
- Make global variables from the e-mail address array and the current loop position.
- Write a function to use as timer callback:
- Read the current item using the global variables.
- Set the registry keys and launch Messenger.
- Check for remaining items in the list. If there are none, exit.
- Increment the position and create a new delay timer for the next iteration.
I could give you the code to do that myself, but I believe it'd be a good exercise to try this yourself first. If you find yourself having trouble with getting the code right, reply here and we'll see how we can help you.
Hi Matti,
Thank you! I'll be back in a few hours to tell my progress.