This is a tricky one because we do not expose it well…
VarMyUserVar.set(readVariable('TrivantisUserName', '', null, '<replace with title name>'));
For the “replace with title name” you can look at one of the published html files to see what is being written out for your course. You should see something like this:
var VarTriMuteAllFLV = new Variable( ‘VarTriMuteAllFLV’, ”, 0, 0, null, null, ‘mytitlename.html’ );
Where mytitlename.html would be what replaces <replace with title name> above.
Sorry this is not easier, I am writing an issue to make this variable available.
- This reply was modified 2 years, 3 months ago by Joe Wieloch.