1. open a text document in ms word document
2. insert/append an anchor text link in the first link - Click Here
3. save document as pdf.
Example,
Let's say you have the original documetn that says.
The cow jumped over the moon. Then it decided to go back so it took a Virgin flight back to Marbella (lol). The cow jumped over the moon. Then it decided to go back so it took a Virgin flight back to Marbella (lol). The cow jumped over the moon. Then it decided to go back so it took a Virgin flight back to Marbella (lol).
--------
The new document would say:
Click Here For More Info:
The cow jumped over the moon. Then it decided to go back so it took a Virgin flight back to Marbella (lol). The cow jumped over the moon. Then it decided to go back so it took a Virgin flight back to Marbella (lol). The cow jumped over the moon. Then it decided to go back so it took a Virgin flight back to Marbella (lol).
-------------
So step 1 is inserting a hypertext link, step two in converting it to pdf.
My thinking is that this can only be done in Word because you can't save anchor text links in notepad OR save it in pdf. In sum what needs to be automated is:
1. insertion/merging/concatenate of text
2. insertion of a hyperlink
3. save as pdf document
.....fyi as I am just thinking about this perhaps the job could be simplified by turning the document into an html before converting it to pdf...but I don't know.
Would REALLY, REALLY, REALLY appreciate some feedback. Tack!!!!
~~~~~~~~~~@~~~~~~~~@~~~~~~~~@~~~~~~~~~~~~~~~~~
Double Your Productivity & Profits - Get Exclusive, Tips, Tools, Tutorials & Reviews -when You Join AutomationNewsLetter.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Hello,
This sounds like an interesting problem. The first thing that you should notice, is that you cannot automate the specific task without using interactive actions (i.e. actions under "Mouse and Keyboard" and "Windows" categories).
The WinAutomation steps that could be used are the following (this is just an opinion of course):
1) "Get Files in Folder": to grab all the text files that you want to convert to pdf
2) "For Each": to loop through all the text files
3) "Run Application": to launch MS Word
4) "Wait for Image": to make sure that MS Word is fully loaded
5) "Read Text from File": to read the contents of the current iteration's text file
6) "Send Keys": to write Click Here for More Info
7) "Send Keys": {Control}({Shift}({Home})) to select the Click Here for More Info text
8) "Send Keys": {Control}({K}) to open the "Insert Hyperlink" window
9) "Wait for Window": to wait for the Window with title *Insert Hyperlink* to open
10) "Send Keys": to send the URL where your link will point and then Enter
11) "Wait for Window": *Microsoft Word* to open and focus it
12) "Send Keys": to send an Enter keystroke and change the line
13) "Send Keys": to send the current text file's contents
How you will continue from here depends on the method that you are using to print your doc file into pdf. You can send a Control+P combination and then use keystrokes to select the Adobe Acrobat as the printer and save the file or you can use mouse clicks.
==Dedicated Automation Solutions==
==Dedicated Automation Solutions==