You should show snippets of the scripts, preferably without unrelated code - just try to get a simple example working first. Aside from exporting variables, you can try more advanced IPC (google it) procedures or another hackish solution would be for one script to write the needed value(s) to a file that the other one reads.
Really, you need to show more details and specify what language you are using.
|