# KeySequence

The KeySequence structure is used in the AdvControl function to pass a sequence of key codes to FAR.

    struct KeySequence {
      DWORD Flags;
      int Count;
      DWORD *Sequence;
    };

### Elements

Flags
May be a combinaiton of the following flags (the FARKEYSEQUENCEFLAGS enumeration):

Flag | Description
--- | ---
KSFLAGS_DISABLEOUTPUT | Do not display the results of processing each key on the screen.
KSFLAGS_NOSENDKEYSTOPLUGINS | Do not pass keys to editor plugins (plugins, that export the ProcessEditorInput function).

Count
Count of key codes in the Sequence array.
Sequence
Points to an array of FAR key codes.

### Remarks

See also:
structures | ActlKeyMacro | TKeySequence