Could you please provide a working example of the looping action. Without success I am trying to repeat cert parts of my script.
Thanks,
Emerson
Could you please provide a working example of the looping action. Without success I am trying to repeat cert parts of my script.
Thanks,
Emerson
U need to use array like Variable[4] ;
Ok, here are some answers:
@Emerson: Which of the actions under "Loop" category are you interested in?
You can repeat a block of actions (or all the actions of the job if you want to run the job multiple times) in the following 3 ways:
1) A specific number of times (Loop Action)
2) While a condition is true (Loop Condition Action)
3) For each item stored in a list (For Each Action)
I have attached 3 sample jobs to this reply. The job Loop1 repeats an action 3 times, the job Loop2 repeats an action until the user enters the value 1 and the job Loop3 repeats an action for each item contained in a list (in this example the list contains 3 items).
So, to summarize, you can use the "Loop" action and enclose the actions that you want to repeat between a "Loop" and an "End Loop" action. This is for repeating a block of actions a set number of times. If you want to repeat a block of actions as long as a condition is true you should use the "Loop Condition" action. Finally, if you want to repeat a block of actions for each item in a list you must use the "For Each" action.
@masterwaldo: When you only want to grab specific items from a list, you can just name these items (looping is not the way to go if you want to perform an action for 2 specific items unless you create a list with only the 2 of them). For example, if you have a list that is contained in a variable named %MyList% and you want to grab the 6th and 7th item, then the 6th item will be %MyList[5]% and the 7th item will be %MyList[6]% (since the first item is always the %VariableName[0]%, the index inside the brackets will always be equal to the place that it has on the list minus one).
If you want to grab a lot of items in a long list, then you have 2 options:
1) Either you can create a new list and add the items in this list (then you can obviously loop through that new list with a simple "For Each" action)
2) Or you can create a list of the indexes that you want to retrieve (you can save them in a text file for example). If you want a sample job to see how you can do this, say so and I will create one for you.
| Attachment | Size |
|---|---|
| Loop1.waj | 14 KB |
| Loop2.waj | 14 KB |
| Loop3.waj | 15 KB |
Error is not blindness, error is cowardice
Thanks KingCrab and Codex. You answered my question. No need for sample job.
I have a list consists of 100 urls.
I want to check whether an input (a url) appear in that list and if it does, at what position it appear.
How to do that? I've been trying to figure this out for quite some time and couldn't find the easy way that is not making me confius.
Thanks.
That's pretty easy - If I understand what you want.
Basically you have a list of urls and you have one in particular that you want to check for.
So the variables are a) the list of urls and b)the url that you input to check.
So you just need to to loop through the url and stop wherever/whenever it finds that the item on the list ="url you input". Whatever count that is, it can output in the message window.
Of course I have assumed it will just appear once, but say if you are checking rankings it's possible that the url may appear more than once.
One tip that works onders is to look through example jobs you see here for the action sequence of steps then just cut and paste. You can create soem pretty slick jobs by just doing that - jobs that do some rather sophisticated things.
As an example, I created what I called a trend blogging report. What it does is:
-check the latest google trend results (this can be used for "real time" blogging post topics"
-checks to see if the exact match blogpost blog for those domains are available
-save the results in text (just got info back o nhow to write it to excel....when it's written to excel it automatically labels the columns based on whatever I tell it to...it's easy to make it interactive i.e. you can name the columns at the top of the sequence)
- zips the resulting "report" with any other files I want to send off to content providers
- mails it off to one or multiple people - they can get a personalized Email that say. Hello #VARIABLE# THIS IS is the trend report for #date#. These topics look interesting because ther are free domain names available, which are:#variable naming available domains#. The search terms related t othese domains were reserved #variable#.
It looks like a human did it, huh?! AI ftw!
BTW, I don't know if this solved 100% your problem. But my 65+ year old gramma can do all I just did with the program so, with a little visual cutting and pasting you'll totally be able to do what you want!
GL
~~~~~~~~~~@~~~~~~~~@~~~~~~~~@~~~~~~~~~~~~~~~~~
Double Your Productivity & Profits - Get Exclusive, Tips, Tools, Tutorials & Reviews -when You Join AutomationNewsLetter.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ps....I had to get it to parse the info above two - it took like 2 hours to figure out how to remove the spaces between words, when it was totally easy. Hitting "info" helps alot when trying to figure out when you are working with a particular action step ;)
~~~~~~~~~~@~~~~~~~~@~~~~~~~~@~~~~~~~~~~~~~~~~~
Double Your Productivity & Profits - Get Exclusive, Tips, Tools, Tutorials & Reviews -when You Join AutomationNewsLetter.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks for the reply.
That was basically I did last weekend after I took a couple of hours resting ;).
The excel function is good but unfortunately I only have OpenOffice. So all the data that I gather are saved into a text file with a comma delimiter and open with OOCalc.
It does look nice with some header on top of it and all the data on the rows below.
I'm now finished the job that I called page ranking locater and almost finish my keyword research tool. Pretty much happy with the software for the moment. :)
HI masterwaldo,
I don't know if you know this but winautomation can do amazing things when it comes to market analysis. One of the things I hope is that questions like this can flesh things out.
Let me state a fact, there's no program out there that can do what winautomation does - at this price point.
This sofware automates both WEB FUNCTIONS + WINDOWS FUNCTIONS.
As an example, winautomation can do browserless web automation and can interact with API's!
Do you know what this means? It can essentially do everything that other internet marketing analysis tools can. PLUS it can make it so all those programs interact together.
Here's an every things from pr, number of links, allintitle results, phrase match results, twitter search results, google search trends results, wordtracker results, etc.
Most of the web automation programs out there rely on some kind of point and click interaction to do automation. With the "download from web" plus the get/post functions you can do 5x the work in 1/10th of the time plus you can do advanced work with API's.
But that is just halve the puzzle, most times getting data is just the first part. Once you get the data, it needs to be analyzed. One can use agazillion programs from excel, to powerpoint to advanced accounting programs (think quicken) to automate the analysis of work you get through the first half of the puzzle - web automation.
If I sound overzealous it's because I had loooked high and low for a program that had the power potential of Network Automation's products for business process automation, at a different price point.
I hope that by sharing this story, more readers will understand the benefits of sharing knowledge here as opposed to just reading, downloading a script or two then going about one's business.
I think we should start a thread for admin to see listing some "dream" jobs.
What do you say?
All the best
~~~~~~~~~~@~~~~~~~~@~~~~~~~~@~~~~~~~~~~~~~~~~~
Double Your Productivity & Profits - Get Exclusive, Tips, Tools, Tutorials & Reviews -when You Join AutomationNewsLetter.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HI masterwaldo,
I don't know if you know this but winautomation can do amazing things when it comes to market analysis. One of the things I hope is that questions like this can flesh things out.
After of extensive usage, I can see the potential on this software.
Agreed. I haven't purchased it yet but I will do so anytime soon. All this while I've been using the trial version and I'm impress with the performance.
As an example, winautomation can do browserless web automation and can interact with API's!
Do you know what this means? It can essentially do everything that other internet marketing analysis tools can. PLUS it can make it so all those programs interact together.
Here's an every things from pr, number of links, allintitle results, phrase match results, twitter search results, google search trends results, wordtracker results, etc.
Most of the web automation programs out there rely on some kind of point and click interaction to do automation. With the "download from web" plus the get/post functions you can do 5x the work in 1/10th of the time plus you can do advanced work with API's.
I noticed this feature on the second day of using the software. It does really powerful and convenient. If you get the hang of it, the limit could probably the sky.
Yup.
What are other product that you have used?
This forum looks dead to me. Probably there is nothing much they can gain here and they prefer to use the contact form for their problem.
Probably someone can start breaking the ice.
What do you say?
All the best
I'm not really understand on this part. Could you please elaborate more.
You sound energatic. It's good to have someone like you here. ;)
Btw, I don't really like this forum script. Probably admin can consider change to something better?
What are other product that you have used?
Virtually all of them - and have talked to sales reps and/or owners of virtually all of them getting alot of attention out there these days. From the latest "bot creation" craze to automate anywhre, to bpa server 7.
What I find lacking in alot of the internet marketing related products (note: Winautomation is a product for sophisticated business process automation not just TASKS) is the following:
Many of the products out there focus too much on creating bots and scripts to automate simple tasks but don't really inform "newbs" that the real value comes from learning how to AUTOMATE AUTOMATION.....yes I meant automate AUTOMATION...
I've done so much research on the whole issue not just from a business perspective but from a socialogical one (i.e. how can we leverage the power of technology to create more enriching lifestyles?)
....Let's face it, every site or service you try to automate will change their login or registration service in a short period of time. Eventually you will spend all of your time automating and that does not translate to profits. It just lets you do alot more of a mundane task.
What needs to happen is that new business owners (esp. in the internet marketing space) need to be shown how to calculate the actual MONEY ROI of different tasks and focus on the 80/20 rule - automating the parts of the business that generates the most sales, the most profits, etc.
There's very little info out there (outside of the $150-$200/hr consultation of more corporate oriented firms) that show people the business strategy behind automation.
As an example suppose you have 2 processes that can be automated and they both take the same time, the same effort. There's only 24 hrs in a day, 12 hours in a working day if you are very dedicated. At some point you have to make a choice - it's the basics of economics really...scarce resources....
Business people need a metric that will enable them to make the proper split second decisions on such issues. Lastly, it helps to have a strategy that will enable you to make one giant automation "investment" at once and never have to do it again....
What do I mean?
The process of:
1) discovering a task that needs to be automated
2) Automating it
3) Reautomating it because the service has changed or because a site has reconfigured itself to make automation harder....
This in and of itself is a MUNDANE, MANUAL TASK!!
Imagine if you spent all your time understanding these processes, then automating THOSE once!
Then you really could "stop repeating yourself"...
One high level, well thought automation "masterplan" that requires one huge initial investment that pays off exponentially at the end and leaves you eons ahead of your competitors. Because they will just be buying one new bot creation or automation program after the other throughout the years, while you made a strategic infrastructure investment far in advance that pays off perpetually - IMHO....
~~~~~~~~~~@~~~~~~~~@~~~~~~~~@~~~~~~~~~~~~~~~~~
Double Your Productivity & Profits - Get Exclusive, Tips, Tools, Tutorials & Reviews -when You Join AutomationNewsLetter.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From the latest "bot creation" craze
Haha..that was what I want to see...
Thanks for the thought. It made me clear that I'm in a right direction.
Heya!
I would really like you to make an example of:
2) Or you can create a list of the indexes that you want to retrieve (you can save them in a text file for example). If you want a sample job to see how you can do this, say so and I will create one for you
Best Regards// Michael
//Best Regards Michael
I also want to know a few things about looping.
Let say I have a list and the list has 7 rows. How can I grab data on row 6 and row 7 only? Or maybe row 4 and row 6 only?
Waldo