Having an automatic "Question X of Y" counter
I built this after asking this question: http://community.articulate.com/forums/p/16923/96126.aspx#96126
Having a running total of how many questions are left is something useful to have, it can really give your learner a "light at the end of the tunnel" instead of them going "oh god another question, I have no idea when this ends someone shoot me."
Storyline lacks an innate ability to do this, so in the meantime, I came up with a fix that will automatically calculate total slide count, and should convienently count up on question slides. It's a little complicated, only counts question slides, and only works right if your questions are worth the same point value. (Though you can fudge the last two.)
But it seems pretty reliable, and since we're using it as part of a template we're going to get a lot of milage out of it. And maybe it'll help somebody! Here's what I'm doing:
var extras = 0; //change this to sneak the total higher or lower.
var player = GetPlayer();
var percent = player.GetVar("PassingScore") / 100;
var slidecount = player.GetVar("TotalSlideCount") / 10; //Change to what your questions are worth.
slidecount = (slidecount / percent ) + extras;
Note the first and fourth steps. That first one, you can change that 0 to a 2 or -1 or something if this script is coming out a bit too high or low for you. Like if you have a question slide that isn't scored or counts double or something, change that number.
On the fourth step, change that 10 to whatever your slides are worth in points. If you left them all as the default ten points, then you don't need to worry!
go to your master slides and figure out which one(s) your question slides use. on these, add a little box with "%SlideCount% of %TotalSlideCount%" in the corner or someplace you think is cute. Also add a trigger that runs when the slide starts, that causes a variable named SlideCount to go up by one.
That's about it! Your show should now have an automatic tally running on every question slide, letting your learner know how much they have left to do. And as you add or remove question slides, you don't have to keep going back and tweaking things!
Hopefully this helps someone. If you're fighting with it, ask me questions and I'll answer or put together a demo project.