talk() is a class to help share data between scripts as easy as it can get.
Uses the SendtMessage example from help file as a base to do the job.
Works with compiled exe's.
- Added Errorlevels to functions
- Removed the 2 globals that were in the previous versions
- Added wait param in
setvar(), thanks gunner
setvar(var, value, wait=true)- sets/creates variable in a client script . Optionally waits for the value to be set in the client script
getvar(var)- gets value of variable in a client script
runlabel(label, wait=true)- runs label in a client script . If
wait=false, the host script doesnt wait for the label to be completed in the client script
terminate()- exits/closes client script
suspend(timeinms) - suspends client script for a desired time interval
- Download from https://dl.dropboxus...alk_examples.7z [NEW 27/07]
Except getVar() which returns the value, all other function returns whether they were successful or not.