Omni Systems, Inc. Mif2Go User's Guide, Version 55

<< Prev | Next >>

> 29 Working with FrameMaker markers > 29.8 Identifying markers with variable <$$_objectid>

## 29.8 Identifying markers with variable <$$_objectid>

Suppose your workflow requires distinguishing between two or more markers (index entries, for example) that have the same content. Mif2Go assigns a unique ID to each marker, of the form Xaa123456, composed as follows:

X | Fixed character
aa | Mif2Go FileID for the file containing the marker
123456 | FrameMaker ObjectID for the marker

Mif2Go makes this marker ID available as predefined macro variable <$$_objectid>. So you could do something like this:

[Markers]

Index=MyIndex

[MarkerTypes]

MyIndex=Code

[MarkerTypeCodeBefore]

MyIndex= <a name="<$$_objectid>" class="Myindex" value="

[MarkerTypeCodeAfter]

MyIndex= "></a>