I am trying to create a script that displays a file "index.html" in the internal viewer panel if such a file exists inside the current folder but the function seems to not find the file. Additionally I don't know how to send a file to the viewer panel. This is how far I have come:
If afterFolderChangeData.result Then
If Left(afterFolderChangeData.tab.files, 14) = "index.html" Then
DOpus.Output "found it!"
Any help would be greatly appreciated!