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
 How can I get the name of a dupilcated window

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
zfkum Posted - 07/05/2000 : 8:04:00 PM
Hi together,

I need the name of the duplicated worksheet. How can I get the window name?

Ciao,

Mike

2   L A T E S T    R E P L I E S    (Newest First)
Lorraine Posted - 07/06/2000 : 12:06:00 PM
When duplicating graph windows in Origin, the new duplicate window remains the active window. When duplicating worksheet windows in Origin the original worksheet becomes the active window again after duplication.

Are you trying to get the name of a duplicate worksheet? In this instance, since the original window becomes the active window immediately after window duplication, the following script shows how to get the name of the new duplicate window by minimizing the original worksheet window.


win -d; //window duplicate
win -i; //minimize active window
%N=%H; //pass the active window name (%H) to a free string variable

or if you want the original worksheet to be the active worksheet in the end after capturing the name of the duplicate window you could use:


win -d; //window duplicate
%W=%H; //capture name of original window
win -i; //minimize active window
%N=%H; //capture name of duplicate window
win -a %W; //activate original window

Sincerely,
Lorraine

[This message has been edited by Lorraine (edited 07-06-2000).]

zfkum Posted - 07/05/2000 : 8:07:00 PM
Sorry, I didn't look good enough into the Knowledge Base!

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