Teledyne-lecroy Verification Script Engine (VSE) Manual Manual de usuario Pagina 95

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 115
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 94
Teledyne LeCroy Verification Script Engine Reference Manual
Page 95 of 115
19.5 ShowInBrowser()
This function opens a file in the Windows Explorer. If the extension of the file has the application
registered to open files with such extensions, it is launched. For instance, if Internet Explorer is
registered to open files with extension .htm and the file handle passed to ShowInBrowser() function
belongs to a file with such an extension, then this file is opened in the Internet Explorer.
Format: ShowInBrowser (file_handle)
Parameters:
file_handle File "handle"
Example:
set html_file = 0;
html_file = OpenFile("D:\\Log.htm");
WriteString(html_file, "<html><head><title>LOG</title></head>");
WriteString(html_file, "<body>");
WriteString(html_file, "</body></html>");
ShowInBrowser(html_file); # Opens the file in Internet Explorer.
CloseFile(html_file);
Vista de pagina 94
1 2 ... 90 91 92 93 94 95 96 97 98 99 100 ... 114 115

Comentarios a estos manuales

Sin comentarios