Just put all of the text into a CSV file. This is as easy as pasting the entire text into a text editor like Windows Notepad, then adding double-quote characters at the beginning and end of the text and saving it with a .csv extension. Of course if your text already includes double-quote characters within it, they will need to be escaped according to the rules of CSV files. It's also OK if the text contains line breaks.
Once the file is saved, you can reference it as a datasource for your macro.
Here is an example:
Code: Select all
TAB T=1
TAB CLOSEALLOTHERS
SET !DATASOURCE longText.csv
SET !DATASOURCE_LINE 1
URL GOTO=http://www.iopus.com/imacros/demo/v6/f1/form.asp
TAG POS=1 TYPE=TEXTAREA FORM=NAME:TestForm ATTR=NAME:Remarks CONTENT={{!COL1}}