Variable names problem

Mar 19, 2018


I have a problem with variable names...

I have a project with lots of variable names. I want to duplicate all the objects with their scripts (including variables) to a new scene(s) and have the same functionality in the duplicated scene(s).

Now I want to change the variable names throughout. If I did this in the same project it would change the variable names througout and not help me. So I thought I would duplicate the project into a new storyline project and change the variable names there. Then import the project back in. I expected this to duplicate all the scenes with same functionality but with a new second set of variable names throughout. But it doesn't. It keeps the same variable names as whichever set of scenes and variable names were in place first.

I also tried setting up a new project. Copying one object with states and all the variables into this new project with say the variable name 'accom_every'... I also imported the same object from a second project where I had renamed the variable 'accom_every' to  'aquies_over'...then copied that object with associated states and variable names...but when I copied in the second object it did not create a whole new variable name but just duplicated the usage number of the existing variable - in other words it changed back the variable name to what it had been before...

It's wierd...

Any help?



7 Replies
Chris Pim

Yes. I think so.

Basically I don't want to have to retype in hundreds of scripts with new variable names (which I need to use) for the same duplicated objects. I don't understand if I duplicate a story then change the variable names and import back into the old story (so now we have identical objects) the new variable name gets overwritten back to the old variable name again.

So perhaps we have 200 instances of tough_over in the old file. Duplicate story...change the name of the variable to tough_over1 (for example). Then import back into the old story and I would expect to see 200 tough_over and 200 tough_over1 usages. Actually what you get is 400 tough_over  usages and no tough_over1 - in fact variable does not even exist.

I tried lots of ways including creating the new variable (tough_over1 explicitly in the old story before importing the new objects (containing the new variable tough_over1 which was renamed from tough_over)) and still does not work.

Alyssa Gomez

Great news, folks!  We just released another update for Articulate 360!

Remember the issue where renamed variables would revert to their original names when importing slides into another project? That issue is now fixed!

Just launch the Articulate 360 desktop app on your computer and click the Update button for each application. Details here.

Please let us know if you have any questions, either here or by reaching out to our Support Engineers directly.

This discussion is closed. You can start a new discussion or contact Articulate Support.