Problem:
I noticed by default the JSON exports total time taken, but is there an easy way to get time spent per slide?
Hi,
You can see this topic:
Regards
1 Like
Thank you, is there a variant of that script that would detect all custom variables and loop to export all of them into the JSON?
Hi,
In that script, you can replace the line json["customId"] = prez.variable("variable_name");
by the followings script:
var varNames = ['var1', 'var2']; // update this list of variable names
var varValues = {};
var i, varName;
for (i = 0; i < varNames.length; ++i) {
varName = varNames[i];
varValues[varName] = prez.variable(varName);
}
json.customVars = varValues;
Regards