
Button 2 Text GetVersion
Button 3 Text "GetExecDate" + CRLF + "TOD"
Button 4 Text "GetVideoMem" + CRLF + "Bandwith"
Stop

Variable String XML

Label GetVersion
	Load XML "NotebookTest.xml"
	XML = DecodeXML(XML, "WinSAT")
	XML = DecodeXML(XML, "ProgramInfo")
	XML = DecodeXML(XML, "Version")
	Print XML
Return

Label GetExecDate
	Load XML "NotebookTest.xml"
	XML = DecodeXML(XML, "WinSAT")
	XML = DecodeXML(XML, "SystemEnvironment")
	XML = DecodeXML(XML, "ExecDateTOD")
	Print XML
Return

Label GetVideoMem
	Load XML "NotebookTest.xml"
	XML = DecodeXML(XML, "WinSAT")
	XML = DecodeXML(XML, "Metrics")
	XML = DecodeXML(XML, "GraphicsMetrics")
	XML = DecodeXML(XML, "VideoMemBandwidth")
	Print XML
Return


'WATCH v1
'WATCH GetSeparatedString(SequenceCmd, 1)
'WATCH str1
