You have to login in order to post a reply to this topic.

1 reply [Last post]
merlinkid
User offline. Last seen 2 years 1 week ago. Offline
Joined: 01/15/2010
Posts: 2

 

 

Ok I have made a simple Craigslist posting tool I created with the program. The problem is I have multiple accounts and passwords and I have mutiple ad headings and I cant seem to figure out how to get the program to do these things.

1st Everytime I get to the point of entering in the account name and password I want it to take a diffrent one from a list that I either have in excel or other and I need it to go down the list every time it gets to this action within the program.

2nd Pick a different ad heading from a list as well each time it gets to that action.

I am sure it would be the same type of automation for each using variables and such but I have yet to find anything that explains variables and the excel portion of the program very well for a dummy like me.

I have pulled my hair on this for 3 days now with no succes. I can get it to open excel read from excel and enter in the account name and passwrod from the first line of a excel spread sheet but I can not get it to drop down the list or delete the first line and pick up from there.

Please help!

 

 

codex
codex's picture
User offline. Last seen 18 weeks 4 days ago. Offline
Joined: 11/12/2009
Posts: 161
Re: Automate Craigslist Posting

Hello merlinkid,

All you have to do, is enclose the actions that you want to repeat inside a "For Each" loop. Assuming that you have saved the data that you read from Excel (the various usernames and passwords) in a variable called %DataTable%, and also assuming that the username is stored in the first column and the password is stored in the second one, your job should look like this:

For each (Variable to iterate: %DataTable%, Store current item into: %DataRow%)

<Your actions that log into craiglist go here>
<The current iteration's Username will be stored in variable %DataRow[0]%, and the current iteration's Password will be stored in variable %DataRow[1]%>

End Loop

You can find more information about loops in the Help File of the application but you can also check the following threads in the forum:
http://winautomation.com/forum/looping-action
http://winautomation.com/forum/bookmarking-randomization-and-loops

__________________

Error is not blindness, error is cowardice

__________________

Error is not blindness, error is cowardice