wiki:Majorupdatetocommands.dat

Version 3 (modified by gyoung, 12 years ago) (diff)

--

Please do not delete anything from this page. Add comments under the requirement or add requirements if necessary. Must means it is essential to the upgrade. Should means it would be a nice feature to have.

List of requirements

  1. The new format must provide an easy upgrade path for the user's commands.
    1. A keyword system appear to be the best option
    2. Something like

; FM/2 commands file -- 3 lines: title, cmd line, flags

version = 2

Name = Unlock exe or dll

Command = unlock -v %a

Icon = 4096

MenuId? = 2100

IconName? = areallygoodicon.ico

  1. The format must be easily expandable while remaining backward compatible.
    1. A keyword system appear to be the best option
  1. The format must lock in the resource number for each command.
    1. A keyword system appear to be the best option
  1. The menu structure of the commands should be under the control of the user.
    1. Should the user be able to name the sub menus or should a limited number of sub menu options be provided?
    2. Should all user added and FM/2 provided commands be movable to all potential sub menus?
  1. The user should be made directly aware of new FM/2 command options and have access for adding FM/2 command options at anytime.
  1. Under a keyword system. The rules would be that each definition much start with a name keyword. The others could be in any order.
  1. The ini file should be considered for the storage medium.
  1. A version keyword would allow us to add features while retaining backward compatibility. If we know the file is version 2, it's trivial to provide default values for a version 3 file.
  1. We should provide a drop down of the icons that were unused because their commands is not being used and we should include extra icons in FM2RES.DLL.
  1. An FM2PATH for use with commands, associations, archivers, etc to reduce the need to include full path names & without cluttering up OS/2's PATH should be developed.
    1. FM2PATH is probably just another settings page item. Probably needs to be presented as a listbox with reordering support.