writing and combining text from several lists

MDM

  • Joined: Jul 8, 2011
  • Posts: 38

Fri 7/8/2011 - 2:15

Hi,

this is my first post here. I have tested several Automation Programs during the last few weeks. Today I found WinAutomation and from what I have seen so far it is better than anything I have tried before.

 

There are a few things which I couldn't figure out....   maybe someone could help.

It's for some kind of "word puzzle game" where children should try to guess upcoming words as they are written down.  

 

I want to type random words and combinations of words out of several lists. 

So far I have found the shuffle list action...  but I don't know how I could TYPE text from such a list.    I need the text to be really typed letter by letter....  not just placed as one single word.  

 

 

Here's an example:

I have a list with 10 words and for each of those words there exists another list with 10 words which can be combined in a meaningful way.

 

I show this quickly with one word.

let's say one of the 10 words on the first list is the "tiger". 

now i have another list with 10 words that can be connected in a meaningful way with "tiger"       like      tiger - india        tiger - dangerous       tiger - zoo    and so on.

 

 

So I want WinAutomation to pick a random word from the first list of 10 words - type it - then pick a random word from another list which correspondends with the first list - and type it too           in case that the word from the first list ist not tiger, but for example "whale" then Winautomation should pick the second word of course from another list - the list which fits to it..    for example    huge, sea, swimming etc.

 

I hope my discription was not confusing.     Is something like this possible in Winautomation and what would be the right approach to do it? which actions are involved?

 

... and one more thing.   Is it possible to "chain" several jobs or even have some jobs in such a chain randomly chosen?

 

Thanks alot for reading. 

 

#1

MDM

  • Joined: Jul 8, 2011
  • Posts: 38

Fri 7/8/2011 - 10:55

Ok, after reading some posts in the forum I already found the answer to the last part of my question...   how to chain tasks together.  but I did not find a solution to the "random" part. 

 

for example:

lets say i have a "master job" - this job starts 10 other jobs one by one.  how can i make the sequence in which the jobs are started random? 

#2

Samantha

  • Joined: Apr 23, 2010
  • Posts: 2328

Fri 7/8/2011 - 11:57

Hi there! Welcome to our Forum! I would suggest that you attached some sample files, so that we get the idea of how the keywords are combined between them. Once that's available, I could put together a saple job for you to help you understand how what you're after can be implemented. :) Samantha

#3

MDM

  • Joined: Jul 8, 2011
  • Posts: 38

Fri 7/8/2011 - 12:38

Hi Samantha,

 

thank you very much for the kind offer.       Since the whole task is a bit more complex then what I described here (I was trying to keep my question as simple as possible - thats why I did not post the complete workflow yet) I will sit down tonight and try to put the files together in a way that it makes sense ofr you.

 

In the meanwhile you maybe could help me out with the other part of the question - if possible.

The question about how to start jobs in a random order from within a "master job"

 

Thank you very much. 

#4

Samantha

  • Joined: Apr 23, 2010
  • Posts: 2328

Fri 7/8/2011 - 13:10

To accomplish this, you will need to insert the actions as they are found in the job attached. Another workaround, would be to write the names of the jobs you want to select from in a text file, and get a random line, and run the job using the command line, this however has the disadvantage disallowing the master job to "wait" for the job to complete. You can get an idea as per how you can use these commands here: http://www.winautomation.com/cookbook/i-want-controll-winautomation-jobs-running-and-stoping-using-command-line Hope I have helped. :) Samantha

Run Random Job.waj

#5

MDM

  • Joined: Jul 8, 2011
  • Posts: 38

Sat 7/9/2011 - 2:10


Thank you very much for the attached Job....
in the beginning I couldn't get it to work 100% the way I wanted to, because after a random job was picked, all the others coming later in the list would play too. so if for example random job 3 was picked, 4 and 5 would run too after it was finished.
but after examining this job for a while i discovered the goto command that you've used. so I copied a goto command after each line and make sure it would point to the end of the job.
After figuring this out I now got alot to experiment with - so maybe I can come up with a solution for the other things which I've asked before.
In case I don't succeed I will post again.

I noticed one thing though. I could not figure out a way to "securely" edit a job. When I edit a task and I am still in the experimenting phase I prefer to keep the old version as a backup in case I messed up instead of overwriting it after the edit. but I could not find a "save as" and also no possibility to copy a job. I have not tried it yet, but I guess I probably could just duplicate a job directly in windows explorer... but I think there is probably a better way from within the program.

 


 

#6

Samantha

  • Joined: Apr 23, 2010
  • Posts: 2328

Mon 7/11/2011 - 17:29

Hi there.. hope you managed to configure the bits you were experiencing difficulties with. Regarding the job duplication, that can achieved using either the copy paste method (where you send through the ctrl+a followed by a ctrl+c to copy all actions, and then in the new job you have created, send through ctrl+v to paste all actions.) Since you want to create backups the other alternative would be to use the Export job action, to crate a backup copy of the job, and then keep working on it. When you then decide you want to re-use one of the backup jobs, you can simply import them within the Console. Keep us updated with any questions you might have :) Samantha

#7

ThatGuy702

  • Joined: Aug 25, 2011
  • Posts: 3

Thu 8/25/2011 - 22:38

Is there a way I could chat with you on a live messenger or yahoo messenger MDM, so you can explain to me how you fixed your problem of grabbing a random line of text from a file? I am trying to automate creating yahoo emails, and could use help, as i have a dummy list of over 600 names that i want it to randomly grab on, and then add a random number to it, and then use my predefined password, and then pull a zip code from another text file, as well as pull from a predefined list of lines for the security questions, which i also want it to choose one in the list at random. If you could talk to me and help me out, it would be appreciated.

#8
Not a member yet? Register

Copyright 2013 - Softomotive Ltd