![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Help on Help Topic Summary: How to launch DOORS help? Created On: 14-Aug-2007 16:27 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I'm trying to add a "Help" button to one of my scripts, that would launch the DOORS help to a specific topic ("Viewing a baseline" in particular).
I've tried various methods and combinations of inputs to the help, helpOn, helpEx, and helpOnEx perms (including unlisted variants I found in the ASCII dump), but nothing has worked so far. I've been able to launch the help but not to navigate anywhere. Just wondering if anyone has been able to do so. The DXL manual leads me to believe it's possible... Thanks, Chris Edited: 14-Aug-2007 at 16:28 by Chris Jones |
|
![]() |
|
![]() |
|
Open the chm file then right click on the address bar and select the "jump to url" option. Use the address contained in the current url box to jump to the chapter. As simple as that I think - haven't tried it from DOORS myself though.
------------------------- Regards, Richard Good |
|
![]() |
|
![]() |
|
Hi Chris,
the functions will work fine ![]() The really difficult thing is to find the correct index numbers. By searching in unecrypted DXL files you may find some examples of usage: \lib\dxl\standard\compwizard\include\wizard.inc(366): helpOnEx(db, DOORSHelp, helpModuleCompareWizard) \lib\dxl\standard\dbintegrity\dbIntegrity.inc(165): helpOnEx(wizardDB, DOORSHelp, helpDatabaseIntegrityChecker) \lib\dxl\standard\export\commas.dxl(396): helpOnEx(expSprWin, DOORSHelp, helpExportSpreadsheet) \lib\dxl\standard\export\html.dxl(102): helpOnEx(htmlBox, DOORSHelp, helpExportHTML) \lib\dxl\standard\fns\copyAttributes.dxl(220): helpOnEx(matrWin, DOORSHelp, helpCopyAttributes) \lib\dxl\standard\fns\copyobjs.dxl(715): helpOnEx(copyObjectsDB, DOORSHelp, helpCopyObjects) \lib\dxl\standard\fns\mergeobj.dxl(553): helpOnEx(dlgMergeObjects, DOORSHelp, helpMergeObjects) \lib\dxl\standard\fns\splitobj.dxl(171): helpOnEx(splitObjTextDB, DOORSHelp, helpSplitObjectText) \lib\dxl\standard\links\link.dxl(443): helpOnEx(linkWin, DOORSHelp, helpLinkByAttribute) \lib\dxl\standard\links\processlinks.dxl(553): helpOnEx(processLinksDB, DOORSHelp, helpCreateLinksTool) \lib\dxl\standard\links\processlinks.dxl(555): helpOnEx(processLinksDB, DOORSHelp, helpDeleteLinksTool) \lib\dxl\standard\spelling\spelling.dxl(1371): helpOnEx(spellCheckDialog, DOORSHelp, helpSpellCheck) Of course you need to use yourown dialog box handle or dbExplorer for calling the function. The help... constants seem to be declared somewhere in encrypted code you can guess how they are named ![]() The only way you can choose is to try to find the numbers of the desired chapter in help file, but is will be like to look for a needle in a haystack ![]() Greetings Reik ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany Edited: 15-Aug-2007 at 09:23 by Reik Schroeder |
|
![]() |
|
![]() |
|
Guys,
Its much simpler to use the system command with the chm help exe and the url you get direct from the chm file using the "Jump to URL "as I described earlier. The following works just fine system( "C:\\WINNT\\hh.exe \"mk:@MSITStore:C:\\Program Files\\Telelogic\\DOORS_8.1\\help\\dxl.chm::/electronic_signatures3.html#wp40686\"") ------------------------- Regards, Richard Good |
|
![]() |
|
![]() |
|
Reik: Thanks---the funny thing is that that's exactly what I had ended up doing! I also found some other places where there is a help... constant (by just doing a regex of "help.*(" or something, on all files in the DXL dir), and that yielded some other names. I actually found the value for the one I wanted (9045) first by trial-and-error (see below), but then managed to work out the name of helpBaselineOpen.
I created a little script to help in the search. If you're going to search a haystack, you might as well do it in a methodical, orderly fashion. Start at one end and look real close, and work through to the other end ![]() The constants seem to start around 9001 (though there might be more below it---I started in that area only because the names I looked at were around there). They do not appear to move through the help in any specific order; they kind of jump around as they go up. See attached code. Richard: Hey, that works too! I guess the downside is that you have to hardcode two paths...(I had to change from WINNT to Windows). But thanks for the idea! I guess this goes in the categories of "fascinating but mostly unnecessary detail" and "pretty much just to satisfy my curiosity"... Chris |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Help on Help
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.