Custom Commands

Klaus Daube frame at daube.ch
Wed Aug 17 02:37:40 PDT 2011


On 15 Aug 2011 at 16:58, Rick Quatro wrote:

>  I want to refer to the Format > Page Layout > Apply Master
> Pages command, which is implemented with a .dll. I am trying this in
> cmd.cfg:
> 
> <Command ApplyMasterPages
>    <ReservedLabel Long Apply Master Pages>
>    <Definition \x???>
>    <Mode All>>

Rick, according to a list I get for all cmds (an itl-script), it could be:

<Command ApplyMasterPages
   <ReservedLabel Long Apply Master Pages>
   <Definition \x1280DF0>
   <Mode All>>

However, this list provides this code also for

<Command ExportM2RBkSetup
   <ReservedLabel Set Up mif2go Export...>
   <Definition \x1280DF0>
   <Mode All>>

The list mentioned shows quite a number of such long codes. It seems that they are created 
by FM for all things added to the cmd/cfg files, such as 

<Command _AboutToolbarPlus <Label About...>
  <Hypertext alerttitle About Enhanced Toolbar FM-10 en: ... 
www.daube.ch/docu/fmaker63.html>>

which gets the code \x1160C18

'Usual' codes are only 3-4 bytes long:
<Command MasterPageUsage
   <Label Master Page Usage...>
   <KeySequence \!omu>
   <KeySequence \!ogm>
   <Definition \x34A>>
<Command DeleteBackToPrevWordEnd     
   <Label Delete Back To Prev Word End>
   <Definition \x0114>>

HTH
Klaus
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Docu + Design Daube; Schäracher 11; CH-8053 Zürich
Technical documentation & consultancy; On-line and paper
F: +41-44-422 86 25  E: ddd at daube.ch  W: www.daube.ch




More information about the framers mailing list