![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Auto save each n minutes Topic Summary: Created On: 10-Feb-2003 16:42 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Auto save each n minutes
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.