I see two possible solutions:
  • Write the values you want passed to word to environment variables, and let the word macro read the values from theese. If you create the env. variables with LSET the variables are only temporary. (Not known outside current script)
  • Write your values to an ini-file and then read the values from the word macro.
If you have 'secret' values you should use the LSET method.
-Erik