Print All Graphs

Average rating
(0 votes)

Function PrintAllGraphs()
 
	Variable index = 0
	do
		String graphName = WinName(index, 1)
		if (strlen(graphName) == 0)
			break
		endif
 
		// PrintGraphs can not be called directly from a user-defined function so we must use Execute.
		// You may need to tweak the PrintGraphs command for your purposes.
		String cmd
		sprintf cmd, "PrintGraphs %s", graphName
		Execute cmd
 
		index += 1
	while(1)
End

Back to top