Jump to content
Macro Express Forums

Random Text?


Recommended Posts

Hi, I'm trying to figure out how to pull random lines of text from a text file and paste it into an open window.


I found a forum post that seemed to try and describe it, but the link to the .zip file with the example no longer works.


Can someone give me an example on how to do this?


(here is the forum post:)



Link to comment
Share on other sites

The link still works for me.


Basically all Joe is doing in that example is copying the number of lines in the text file and then settign a random number between 1 and the number of lines. I wasn't looking closely how he did it but I would rerun the repeat but where it asks which number to start at you could have it use this randome integer and process only one record.

Link to comment
Share on other sites

I understand the concept, but I'm pretty new to Macros and I don't know how to implement the idea.


I have recreated the basic set up, I just don't know what to put for the settings (when you actually click on the operation, there are some more settings that pop up, and I'm not sure where they should be set at)


For example, all the settings within the "Text File Begin Process" command.


Something in my settings is off, because the program won't run correctly. It doesn't post a random line, always the first line only. :(

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...