Millisecond Forums

Multiple monkey?

https://forums.millisecond.com/Topic13864.aspx

By seehuus - 7/27/2014

Is there a way to run an experiment using the monkey repeatedly?  I have a fairly complex branching setup with many possible outcomes.  I'd like to test all of them, but that would require taking the survey - a fairly long survey - many, many times.  I'd like to run the monkey through the whole experiment n times without intervention, so I could leave it running overnight and come back to a lovely pile of monkey data.

Is there a way to do this?  I suppose I could use something like AutoHotKey, but that seems both unreliable and profoundly inelegant.

Thanks!
By Dave - 7/27/2014

You need to write a small shell script or batch file that runs the given script in monkey mode repeatedly via the command line. Inquisit command line parameters can be found in the "How to Launch Inquisit Using Command Line Parameters" topic in the documentation. Examples for creating a simple loop in batch files / shell scripts can be found online, e.g. http://www.windows-commandline.com/windows-for-loop-examples/ or https://stackoverflow.com/questions/2591758/batch-script-loop

Hope this helps.