Replace macro text

Not available in exe.

 

Syntax

s.setmacro([macro])

 

Parameters

s - str variable.

macro - QM item name (full, case insensitive) or id (integer).

 

Remarks

Replaces QM item text.

 

The item must not be read-only.

 

The user can Undo if the item is currently open (is in the "Open items" list).

 

See also: getmacro, newitem