Sets watched specific strings on AutoCAD LT command line LTCustomizer21 for AutoCAD LT reference manual

ActiveX
    Sub add_watch_cmdline_string(watch_string As String)
C/C++
    LTC_add_watch_cmdline_string(const wchar_t * watch_string);

parameter
watch_string : Watching string on AutoCAD LT. If this parameter is NULL(ActiveX is 0) , watching strings are clear. Watching string can set plural strings by calling this function plural times.

This function is valid when you called enable_extra_command() and specified second parameter is minus of the function. LTCustomizer21 can inform your applications of all string on AutoCAD/LT command line in addition to function of getting string which is enclosed with special words (default is '#'). If first word of parameter watch_string is '\n'(chr(10)) , LTCustomizer21 watches command line just before. See also sample program ,"Command Line Watcher". The sample is using add_watch_cmdline_string().

Caution
1:You must consider that watching string is string which is included prompt string(ex: 'Command: ') . LTCustomizer21 compares simply between string of AutoCAD /LT command line and parameter of add_watch_cmdline_string().
2:Matching isn't complete matching .It is similar to strstr() of C language. In short, LTCustomizer21 regard that matching is OK if front string of command line is same as parameter.
Ex: When you wrote add_watch_cmdline_string ("Command: _line"), LTCustomizer21 match even if command line is "Command: _line Specify 1 point:".

reference

enable_extra_command()
set_extra_word()
disable_delete_extra_command()