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

4 replies [Last post]
winjaw
User offline. Last seen 5 hours 55 min ago. Offline
Joined: 04/28/2010
Posts: 11

Hi,

I would like to be able to read the text from a random file in a folder. I’m having a hard time figuring out how that can be accomplished. Can someone please help me?

I will have a folder containing somewhere between 3-8 .txt files and I want to read from one randomly selected.

Thanks for your time and help.
 

Samantha
Samantha's picture
User offline. Last seen 8 hours 52 min ago. Offline
Joined: 04/23/2010
Posts: 1349
Re: Read Text From Random File

Hello winjaw,

Which version of WinAutomation are you running?

This job can be done so very easily using WinAutomation v.3.1.Beta, but won't be too long before it goes public. Maybe if you sent an email to the Support Dpt and asked to become a beta tester, you would then easily manage to do most of the Jobs you have described in this and other threads I came across.

I'll wait to hear from you which version of WA you are running and send you a sample job to do what you're after

;)
Samantha

__________________

Rome wasn't built in a day..

__________________

Rome wasn't built in a day..

winjaw
User offline. Last seen 5 hours 55 min ago. Offline
Joined: 04/28/2010
Posts: 11
Re: Read Text From Random File

Hi Samantha,

I'm running v. 3.0.3.410.

Samantha
Samantha's picture
User offline. Last seen 8 hours 52 min ago. Offline
Joined: 04/23/2010
Posts: 1349
Re: Read Text From Random File

Hello winjaw,

For the task you are describing there's a post already on the forum

http://www.winautomation.com/forum/randomize-order...

Please check it out :)

I would suggest that you did download the beta version, it's pretty stable and will be out shortly. I'm only saying cause it will only take you a few secs to get this job done with the new release, whereas it will take you much longer to do it using the version you are currently using.

Let me know if this works for you

:)
Samantha

__________________

Rome wasn't built in a day..

__________________

Rome wasn't built in a day..

winjaw
User offline. Last seen 5 hours 55 min ago. Offline
Joined: 04/28/2010
Posts: 11
Re: Read Text From Random File

Hi again,

Thanks for pointing me to the thread. I think that example job will do it for me.

I've also requested to become a beta tester.