Scripting with method probes
Script class reads script file from disk and creates message probes
Each line of script defines:
access t method arg1 … argN
Where access is either
- method name (get target obj)
- model (target is model)
script=[Script create: self];
[script setFile: "scriptfile"];
[script logEvents: ”logfile"];
[script buildActions: self];
[script activateIn: self];
model 8 shockMarketTo: -1
getMarket 20 setAlpha: 70
getMarket 30 setAlpha: 50