I want to be able to run two scripts that pass variables from one script to the other. Does anyone have any ideas on how I can do this?
The idea behind passing variables is this: I want to be able to highlight text and run one script that performs various functions and stores the index numbers for the selected paragraphs. When the first script is done I want to be able to place the cursor in a new document and run the second script. The second script uses the paragraph indexes from the first script to perform various functions and paste the original paragraphs in the cursor's new location.
you can do this in 3 - or more - ways ;)
1) save information in TXT file on hdd
2) save data into first or second/destination document - using myDoc.InsertLabel myDoc.ExtractLabel
3) create new temporary and hidden document - for storing temp data
for 2) way - read this "DoScript CS3 VB to VB"