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: Auto save each n minutes
Topic Summary:
Created On: 10-Feb-2003 16:42
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.
 10-Feb-2003 16:42
User is offline View Users Profile Print this message


Stephan Sahm

Posts: 3
Joined: 3-Jan-2003

I couldn't find an auto save function in DOORS.

Is there a way to write a trigger that saves all open modules each n minutes ?

Bye
Stephan
Report this to a Moderator Report this to a Moderator
 10-Feb-2003 23:29
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

There is no timer trigger event. But there is a very messy way to do it:

You COULD write a trigger that runs whenever you change the current object in a module, that is select a new object. The trigger could examine the last time it forced a module save and compare it to the current time, and if so-many seconds had passed it would save the module and reset the time. Keeping track of time could be in the form of an "environment variable" that uses the Trigger script name and the module's full path to form the variable name. See "setEnv" and "getEnv".

Problems include the fact that call "unSaved" does NOT notice all changes made to the module, and that you script will routinely automatically save whether the module needs saving or not. That could be VERY annoying for quick edits, or when editing modules with lots of objects or lots of history.

This does not look like a "good" solution to me. Save manually.

- Louie
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.