2 Replies Latest reply on Sep 10, 2008 9:03 PM by (sudar1983)

    Transfer variables from one script to another script. VB, CS2

    Dave Pepper Level 1
      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.