Skip to main content
Skip table of contents

AddExecType in the HqnControl procset

This page applies to Harlequin v13.1r0 and later; both Harlequin Core and Harlequin MultiRIP

AddExecType is used to add definitions for new file types which need not, or cannot be automatically identified. As its arguments it takes a key and a procedure. The key will be used as the new file type identifier, and the procedure will be used to execute the file.

That procedure will be called with a file object on the operand stack which the procedure should execute. In many cases it may be executed by calling an input plugin which provides a PostScript filter.

TEXT
            /MyType { /MyFileDecode filter cvx exec } bind
            /HqnControl /ProcSet findresource /AddExecTypeget exec

If a file type added here uses the same name as one of the file types supplied by GGS, and if a call to ExecFile includes an explicit /FileType key for that type, then the new, replacement, procedure will be used in preference to the GGS-supplied execution method.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.