|Manuals

Loading Scripts

Thinfinity VirtualUI allows you to load and run JavaScript files from the Windows app. In order to load a new JavaScript file, you can use the LoadScript method of the HTMLDoc component:

VirtualUI.HTMLDoc.LoadScript(URL, [Filename])
  • URL: The Uniform Resource Locator pointing to the Javascript file location in the net.
  • Filename: Optional parameter that, when specified, points to the actual Javascript file in the local file system. In this case the URL parameter will be virtual, and will resolve to this local filename.