The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 get a graph window name

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
holl Posted - 02/23/1999 : 7:19:00 PM
How can I access the name (not the label) of a graph window?

example: I do have an active graph window, but I don't know the name. For later use I must know the name, so I'd like to store the name as a string like:
%N=graphwindow.name or something alike.

1   L A T E S T    R E P L I E S    (Newest First)
Lorraine Posted - 02/25/1999 : 12:35:00 PM
In your script you can assign the active window name to %N. The system variable for the active window is %H. So at the time the graph window in question is the active window you can assign %N to %H, i.e.,

%N=%H;

Incidentally, the name and label of a window is also stored as a property of the page object. To get the current label of the current worksheet or graph:

%L=page.label$;

(Note a $ suffix is necessary since this property is a text property.)

If you wanted the label of your %N window, but it was no longer active, you could use:

%L=%N!page.label$;


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000