When used without any parameters, tfmk is always the last macro to be executed if there are several macros to be carried out. This means that you cannot, for instance, say tfmk:tft "_" . The Draw new frame and... extensions script supplied with PTC ALD uses a script loop to achieve this feature. |
* | Indicates that the frame control stream tag name that follows should be read and used as a template, and the frame instance that is created will not maintain any association with the tag. For example: tfmk *"name" The top, left, width and height parameters can be used together with the *"name" to modify the templated frame before it is placed on the layer. |
> | Indicates that a new named frame (a frame control stream) is to be created from the currently selected frame, and this frame will then be replaced on the layer by an instance of the named frame. If the target named frame already exists it will be overwritten with the new frame (without warning); if the tag name already exists and is a different type, a dialog box in which you can enter a different name will appear. For example: tfmk >"name" If the name is an empty string (i.e. "") and the currently selected frame is a named frame, the named frame will be replaced on the layer by an anonymous template copy of it, breaking the connection with the named frame; the named frame itself will be unchanged. For example: tfmk >"" |
name | The tag name of frame control stream. If there is a preceding > character, this will be the tag name to create and write to. If not, it will be the tag name to use to create an instance of the frame on the currently selected layer. Must be declared in double quotes. For example: tfmk "name" |
left | The horizontal distance from the left page edge to the left edge of the new frame |
top | The vertical distance from the top page edge to the top edge of the new frame |
width | The width of the new frame |
height | The height of the new frame |
You can specify a set of default attributes for each frame drawn with this macro. To do this you will need to create a pasteboard called "_fdef_tfmk" using the tpboard macro. Draw a frame on this pasteboard with the required attributes, e.g. background colour, frame rules, and subsequent frames drawn on the page will also have these attributes. |