I am looking for example code to open .doc and html pages

Does anyone have an example code that would be a single interface with two blocks. One showing a .doc file and another showing a web page? I am trying to see what that would involve. Thanks.

I only use macOS.

Use the Copy Files script to copy files into your app. For instance, I load png files into the Resources folder. Then I can construct a folderitem to access the png files from the Resources folder.

You can load the doc or the html files in a similar manner.