Issue with .html file on Box Drive

… is very inefficient.

File::SEPARATOR (which File::join uses) is ‘/’ on both platforms.

I’d use ENV["HOME"] instead, coupled with a folder var:

path = File::join( 'file:///', ENV["HOME"], folder, 'chatterbox.html' )

Also you can set (or reset) the html page after the dialog frame is displayed.


FYI, WebDialog class is deprecated, and has some security quirks when trying to load files from the local machine. (I think SketchUp API copies the webpage to the TEMP folder, and actually loads it from there.)

or: