Teledyne-lecroy SierraFC Verification Script Engine Reference Manu Bedienungsanleitung Seite 52

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 64
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 51
Verification Script Engine Reference Manual
47
22.4 ShowInBrowser()
This function allows to open file in the Windows Explorer. If the extension of the file has the
application registered to open files with such extensions it will be launched. For instance, if Internet
Explorer is registered to open files with extensions “*.htm” and the file handle passed to
ShowInBrowser() function belongs to a file with such an extension then this file will be opened in the
Internet Explorer.
Format : ShowInBrowser ( file_handle )
Parameters:
file_handle - the 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 );
Seitenansicht 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 63 64

Kommentare zu diesen Handbüchern

Keine Kommentare