TextSetCategoryAndPriority()

Inserts a character in the Priority text box of a Task view.

Token ID

AFTKN_SET_CAT_PRIOR or 590

Syntax

VOID TextSetCategoryAndPriority( ANSISTRING CatAndPrior; 
                                 [BOOLEAN Append])

Parameters

CatAndPrior As ANSISTRING

For example: "A5" (A is the category and 5 the priority.

Append As BOOLEAN

(Optional) Specifies the following:

  • False Default. Replaces existing text.
  • True Appends to existing text.