lollone
Guest
Hi.
I have this macro for creating drw files automatically.
practically the macro goes to fish the mask file of the table put (start_a3.drw file). the name of the created table puts it at the end of the whole passage.
I would rather go to get the mask file (*.drw) go to get the format (*.frm).
Is it possible?
I can't understand how to do.in theory I should click in "empty with format" and go to select the reference format, but I can't write the correct programming.
here is the macro:
mapkey .fnd ~ activate `main_dlg_cur` `file.psh_new`; ♪
mapkey(continued) ~ select `type` 1 `drawing`; ♪
mapkey(continued) ~ activate `new` `chk_use_default_template` 1 ;~ activate `new` `ok`;\
mapkey(continued) ~ activate `ui message dialog` `ok`;
mapkey fnd3 @mapkey_namecreate new a3 drw;\
mapkey(continued) @mapkey_labelnew a&3 drawing;%.fnd;\
mapkey(continued) ~ select `dwg_create` `lst_template_names` 1 `start_a3`; ♪
mapkey(continued) ~ activate `dwg_create` `psh_ok`;~ activate `open_instance`;#dbms;\
mapkey(continued) #rename;%ftf;%sf31;%dr;
I have this macro for creating drw files automatically.
practically the macro goes to fish the mask file of the table put (start_a3.drw file). the name of the created table puts it at the end of the whole passage.
I would rather go to get the mask file (*.drw) go to get the format (*.frm).
Is it possible?
I can't understand how to do.in theory I should click in "empty with format" and go to select the reference format, but I can't write the correct programming.
here is the macro:
mapkey .fnd ~ activate `main_dlg_cur` `file.psh_new`; ♪
mapkey(continued) ~ select `type` 1 `drawing`; ♪
mapkey(continued) ~ activate `new` `chk_use_default_template` 1 ;~ activate `new` `ok`;\
mapkey(continued) ~ activate `ui message dialog` `ok`;
mapkey fnd3 @mapkey_namecreate new a3 drw;\
mapkey(continued) @mapkey_labelnew a&3 drawing;%.fnd;\
mapkey(continued) ~ select `dwg_create` `lst_template_names` 1 `start_a3`; ♪
mapkey(continued) ~ activate `dwg_create` `psh_ok`;~ activate `open_instance`;#dbms;\
mapkey(continued) #rename;%ftf;%sf31;%dr;