Teledyne-lecroy UWBTracer Verification Script Engine Manual Manuale Utente Pagina 75

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 95
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 74
LeCroy Corporation Verification Script Engine Manual, version 2.2
18.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);
Page 75 of 95
Vedere la pagina 74
1 2 ... 70 71 72 73 74 75 76 77 78 79 80 ... 94 95

Commenti su questo manuale

Nessun commento