I was looking in the example file for "Simple Text Browser Dialog", and I noticed at the end of the script, it's loading a HTML file from inside the DAZ Studio application folder. What if I want to open up a HTML within a script file. For instance, I have a DAZ script file and a simple HTML file in the same folder within my Library.
at the very end, I found this script section where it's loading the file.
( String("%1/DAZ Studio").arg( App.getDocumentationPath() ), "what_is_studio.htm" );
What I am trying to do is to load the HTML file from the same folder where my DSA script file is. I tried this code to no avail.
( String("/Scripts").arg( App.getAbsoluteScriptPath() ), "MY_HTML_FILE.html" );
Any idea of a way to point the script to load the HTML file within my script folder?