
Recreating a Window Using WinRecreation

olelytken
String WinRecreationString=WinRecreation(B_Struct.win, 0)
and then remove the unwanted lines from the macro:
WinRecreationString=GrepList(WinRecreationString, "^\t(SetWindow|Cursor|ListBox|CheckBox|PopupMenu|ValDisplay|SetVariable|Button|ShowInfo)", 1, "\r")
However, the resulting string is often longer than 400 characters, which means I cannot simply do Execute WinRecreationString. Is there a way to save the full string as a macro and then execute the macro, or am I forced to chop the string up and execute it piece by piece?
Another solution is to execute the macro's contents line by line. This can be fragile depending on the complexity of the graph.
October 13, 2015 at 05:50 am - Permalink
October 14, 2015 at 07:18 am - Permalink