![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: How to minimize a DOORS module from DXL? Topic Summary: Created On: 14-Aug-2006 15:19 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|||
Hi *,
Is it possible to minimize the opened DOORS module window from DXL? Using open, read or edit function it is possible to make the module visible/invisible... but how to keep the module visible but minimized in the task bar? Thanks for any help... Rony |
|||
![]() |
|||
![]() |
|||
With DXL you can open modules in the background as it won't be visually displayed. Doing this will increase the performance of the DOORS application and anything else you do.
Off the top of my head, once a module is open in this state I don't know of a DXL function off the top of my head that will automatically display it visually again to you or bring it to the foreground. About minimizing the module with code I would do this outside of DXL and simply write a short Windows script in visual basic, etc.. ------------------------- pete.kowalski(at)motorola.com |
|||
![]() |
|||
![]() |
|||
Hi,
thank you for the response. I think if I open the module in background then I cant work with any specific view. I was thinking the same that I could minimize the DOORS module using VBscript wrapper from DXL. But I didnt find any list of OLE method/properties of DOORS.Application. Do you know where I can find the list of OLE/COM properties and methods for DOORS.Application? Thanks again... Rony |
|||
![]() |
|||
![]() |
|||
Hi Ronny,
you may have a look into DXL-reference manual. There is a chapter "Controlling DOORS from applications that support automation" under "OLE objects". There you may find the only 2 functions supported by "Doors.Application". Sorry for that answer, but I think it will not help you to solve your problem ![]() Greetings Reik ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany |
|||
![]() |
|||
![]() |
|||
Hi Reik,
yes you are correct. I have already seen that but I thought some one has a list of the functions/properties of DOORS.Application automation. As far as I can remember it is possible to extract the windows application message communication with Spy++ tool accompanied by Microsoft Visual Studio (MSVS). Unfortunately I dont have MSVS and I am also not sure whether this Spy++ tool is still shiped with MSVS ![]() Anyway, hope some body here has a list of DOORS.Application functions/properties list. Thanks and Greetings, Rony Edited: 21-Aug-2006 at 14:34 by Iftakher Uddin |
|||
![]() |
|||
![]() |
|||
Hi Rony,
I don't believe that there are any other functions available via OLE/Automation than the ones listed in the manual. In Visual Basic I added a reference to the DOORS Type Library (at ...\bin\doorsdxl.tlb) and looked in the object browser....the only things listed are the runDXL and runStr methods and the Result property, just like the manual says. I don't think that DOORS has anything else exposed to OLE (or Automation, or COM, or whatever). You can probably write a script that just grabs the window from the OS and minimizes it. We had a perl script that would open DOORS and login, run some DXL (with runDXL) and then close DOORS, by using this method (this was before we realized that we could do the same thing with batch mode). I don't fully understand it but it may help you: my @windows = FindWindowLike(0, "DOORS","","",""); for (@windows) { my $txt = GetWindowText($_); if ($txt =~ /^DOORS Database:/) { SetForegroundWindow($_); SendKeys("\%Fx"); #Close the DOORS window } } Chris |
|||
![]() |
|||
![]() |
|||
Iftakher:
Regarding opening up a specific DOORS view when a module is open in the background. You have several options: 1) Have your specific view as the default view when the module is open 2) If you have several views that you want to work with when the module is in the background just write quick view scripts that will apply different views to the module when it is is in this state. I find developing quick view scripts as a easy thing with DXL unlike some other stuff. ------------------------- pete.kowalski(at)motorola.com |
|||
![]() |
|||
![]() |
|||
Hi Pete,
Congratulations to become a centurian (100 post in the forum :-)! Could you please explain bit details what is quick view? We can count the column from a default view regardless its display mode. But if we want to load a specific view from background then its not possible. @Chris Thanks for the example :-). Many Greetings, Rony ================= Iftakher Uddin (Rony) HOOD Group |
|||
![]() |
|||
![]() |
|||
I have been able to minimize and restore module windows using the attached include file. It requires a third-party software package called "AutoIt" to be installed. If AutoIt is missing from the system the script is called from, the function call will fail silently but should not cause any run-time error.
This has been tested with DOORS 7.1 but should work with 7.x and 8.x. The required software package is AutoIt v3.2.0.1 and is available from http://www.autoitscript.com/autoit3 Please see the include file for usage and window state constants. -Dennis
|
|||
![]() |
|||
![]() |
|||
All you have to do is reassign the variable again with the display option set to true.
------------------------- Bruce Tuskey "All that is gold does not glitter, not all those who wander are lost:..." - Gandalf the Grey (JRR Tolkien) Tuskey@gmail.com |
|||
![]() |
Telelogic DOORS
» DXL Exchange
»
How to minimize a DOORS module from DXL?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.