writes script LTCustomizer21 for AutoCAD LT reference manual
ActiveX
Function write_script(cmd_string As String) As Boolean
C/C++
int WINAPI LTC_write_script(const wchar_t *cmd_string);
parameter
cmd_string: command of AutoCAD LT
return value
ActiveX: True: success. False: failure
C/C++: 1: success. 0: failure
Command this function can specify is limited to command that window does not appear. because of the reason, LTCustomizer21 sets system variavle FILEDIA to 0 beforehand.
Caution
1. This function adds return code to your specific command after.
Reference
start_script()
execute_script()