Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: CLI and DXL registry settings
Topic Summary: How to run DXL when DOORS is opened?
Created On: 3-Nov-2005 22:57
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 3-Nov-2005 22:57
User is offline View Users Profile Print this message


Chris Jones

Posts: 177
Joined: 1-Jul-2005

What I want to do is to set the default page layout when DOORS is opened. I have some DXL to do this:
current = pageLayout(" SEL Letter Landscape")

My problem now is running this whenever anybody logs in. We already have a batch file that people use to set up the registry for the DXL menus that we use and it would be simple to add a bit that sets the CLI variable to this code. But, the CLI registry setting doesn't seem to do anything, contrary to what the manual implies. Any ideas on how to implement this? Am I using the CLI setting wrong?

Thanks
Chris
Report this to a Moderator Report this to a Moderator
 7-Nov-2005 22:26
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

The manual says that "cli" and "dxl work in the command line and is silent, as usual, that they do NOT work in the registry. They don't.

There is no DB login trigger; a fact that astounds me to this day.

We've got a module-open trigger that runs once per day (actually it figures out if its already run for this user) that collects user and client data such as their DOORS version; and such a trigger could realistically be modified to run once per session and then do whatever we need it to do. That's a clumsy solution.

Another option is to modify all client's startup.dxl to do what you want.

Another is to insist that all users insert your DXL into their DOORS icons.

Lots of lousy options.

- Louie
Report this to a Moderator Report this to a Moderator
 8-Nov-2005 22:23
User is offline View Users Profile Print this message


Chris Jones

Posts: 177
Joined: 1-Jul-2005

The solution I settled on was to use the batch file to append a line to startup.dxl that will do it. Not the most elegant (hope nobody runs it multiple times), but it works. Thanks for your input Louie.

Chris
Report this to a Moderator Report this to a Moderator
 8-Nov-2005 23:27
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

I'd have your batch file first look for the string before appending it.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.