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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 get window names
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

clemens

2 Posts

Posted - 09/29/2000 :  5:04:00 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I need to get all window names from an already existing project and I cannot find any information in the manual. I tried it with the page.title command but I had no success.

CStorey

Canada
137 Posts

Posted - 09/29/2000 :  6:47:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You can use the "Document" command, or doc for short. Problems: Notes windows don't appear, Matrices and Worksheets are treated the same way.

This script should help:


// Get all Window Names in Project
//
// **NOTE** the %Z formating, watch where the " start and end!


%Z="%Z
** Non Minimized: ";

doc -e O {
%Z=%Z %H;
};

%Z="%Z
** Graph Windows: ";

doc -e P {
%Z=%Z %H;
};

%Z="%Z
** Worksheet Windows: ";

doc -e W {
%Z=%Z %H;
};

%Z="%Z
** Matrix Windows: ";

doc -e W {
%Z=%Z %H;
};

type %Z;

Craig Storey

[This message has been edited by CStorey (edited 09-29-2000).]

[This message has been edited by CStorey (edited 09-29-2000).]

Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000