Search code examples
articulate-storyline

How does one get the total number of slides?


In Articulate's Storyline product, how does one retrieve the total number of slides (or pages) in a storyfile or project?

There's not much documentation so it's kind of hard to figure out how to query common environment values like this. If we can get the total number of slides then we don't have to manually set a value for it.


Solution

  • One must manually set and update a variable to store the number of slides.

    The most lengthy conversation on the matter seems to be found here at the Articulate forums.

    In that thread the users and staff describe the need to manually define such a variable.

    I asked the question on the official forum more directly here, and so far have not received a response.

    Another poster at that forum mentioned using PHP to solve this problem, but unfortunately we can't add the requirement of PHP to the final product. I'm sure some server side language tricks might be used to solve this issue, but that also adds the dependency of a particular server-side language.