T O P I C R E V I E W |
LabTalk user |
Posted - 09/28/2010 : 10:18:00 AM Origin Ver. and Service Release (Select Help-->About Origin): 8.1 SR3 Operating System: XP
I recently encountered a problem where the short name was being truncated and not naming the windows properly. I have gotten that issue resolved, but now I need to learn how to activate and rename windows using the long name. I can't seem to find it on the wiki page so any directions or assistance would be greatly appreciated.
Thanks! |
3 L A T E S T R E P L I E S (Newest First) |
minimax |
Posted - 09/29/2010 : 9:31:46 PM Hi Patrick,
For Origin8.x version, it is suggested to use page.longname$ to rename the window's LongName.
Max OriginLab Technical Support |
LabTalk user |
Posted - 09/29/2010 : 7:01:49 PM Thank you, this has helped point me in the right direction.
Thanks again! |
VincentLiu |
Posted - 09/29/2010 : 04:29:11 AM The following offers an example to show you how to active a window with its long name. But please note that for a long name could be used by different windows, it may be not a good way to manipulate a window with it.
Suppose you have a graph with long name as "My Test", then you can use the following command to activate it.
range rr = [My Test]!1; win -a %(rr.getpage()$);
After the window has been activated, you could use
page.label$ ="You Test";
to rename it.
Vincent OriginLab Technical Services |