
Document #610, Adding User-defined Menu Options to GoldMine’s File Menu
Applies to all Versions
GoldMine has the capabilities to start a third party application through the addition of a menu option on the File menu. Adding a section to the preferences file for each user can enable this feature.
Add the following section to the username.INI where username is the GoldMine login name of the user who’s File Menu will be customized.
[FileMenu]
Optx=menu text , app identifier, dde command
Usage Explanations
Optx
Replace the x with the option number for the menu item, valid entries are 1 to 9. Provided the menu options are consecutively numbered starting with Opt1, GoldMine will add them to the File menu.
menu text
This is the text that will show on the File menu. To specify a keyboard shortcut key for the new option, preface the letter with an ampersand (&). Ensure that there is at least one space between the end of the menu text and the comma.
app identifier
This is the identifier that is registered in the Windows System Registry for the application that will be launched by the menu option. Windows will open the program that is specified by Command Field in the registry entry for GoldMine.
dde command
This parameter is optional and GoldMine will attempt to establish a DDE conversation with the application once it is open. GoldMine uses the application and topic name from the Open section of the Windows System Registry to establish the conversation. If a conversation can be established, GoldMine will execute a DDE request using the information specified as the dde command.
Example
[FileMenu]
Opt1=Edi&t DOC1.DOC… , Word.Document.8, [FileOpen(“Doc1.Doc”)]
This example will add the menu option Edit DOC1.DOC to GoldMine’s File menu. Selecting this menu option will open Microsoft Word and execute a DDE command to open a named document.
Copyright (c) 2002 FrontRange Solutions Inc.
All rights reserved. You may use this document for personal and informational (non-commercial) purposes, provided that the copyright notice and all other notices and permissions appear in all copies, the document is not copied or posted on any network computer or broadcast in any media and modifications are not made to the document. Use for any other purpose is expressly prohibited by law, and may result in civil or criminal penalties.
The information contained in this document is provided “as is” without warranty of any kind. To the maximum extent permitted by applicable law, FrontRange Solutions disclaims all warranties, either express or implied, including warranties for quality, accuracy, merchantability, fitness for a particular purpose, title and non-infringement; and in no event shall FrontRange Solutions or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of profits or data or special damages, even if FrontRange Solutions or its suppliers have been advised of the possibility of such damages.