Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
what is the Coppercube Javascript equivalent of the Action "Load or Store a Variable from or to disk" ? |
||||
|
I think the closest you will get is the ccbReadFileContent-load Information ccbWriteFileContent-Save Information |
||||
|
Hello 3dblendsphinx, unfortunately we both know this is not it, but yes this is the closest but it doesn't work on all platforms I think. |
||||
|
Yep, its just the most we are given. |
||||
|
Actually the built in action saves the Variable to the registry for the specific app... and loads the variable from there only.... But the CCB javascript command...to writeeilecontent and readfilecontent will simply write the variable to a .txt file and reads it from there..... so if you don't want your variables to be stored in registry you can save them in .txt file... using the javascript api.. |
||||
|
But the write function don't work for things browser based cause browsers are blocked from writing to the system. So if their is project is webgl it wouldn't work. They wanted something that would work universally. |
|