@Sea-Haven wrote:
I had a go at using it, changed the dcl part to as below, this line is a problem (setq TILE (getvar "DECRITION")); so remmed it out. It did not work for me. There were errors also you labelled each key DOC1, there is something wrong with your pick a toggle I stopped at this point debugging.
Word appears to have changed with current version you were abl to do some copy and paste between acad and word but it does not like it now.
(setq fo (open (setq fname (vl-filename-mktemp "" "" ".dcl")) "w"))
(write-line " DOC : dialog " fo)
(write-line (strcat "{ label = " (chr 34) "OFFICE" (chr 34) "; ") fo)
(write-line ": row { " fo)
(write-line ": column { " fo)
(write-line (strcat ": toggle { label = " (chr 34) "DOC X" (chr 34) " ; key = " (chr 34) "DOCX" (chr 34) "; } ") fo)
(write-line (strcat ": toggle {label = " (chr 34) "DOC Y" (chr 34) "; key = " (chr 34) "DOCY" (chr 34) "; } ") fo)
(write-line (strcat ": toggle { label = " (chr 34) "DOC Z" (chr 34) "; key = " (chr 34) "DOCZ" (chr 34) "; }}} ") fo)
(write-line (strcat ": button { label = " (chr 34) "EXIT" (chr 34) " ; key =" (chr 34) "BT-SAIR" (chr 34) " ; fixed_width=true ; width=0 ; alignment=centered ; } ") fo)
(write-line (strcat " : button { label = " (chr 34) "GO DOC" (chr 34) "; key =" (chr 34) "BT-GODOC" (chr 34) " ; fixed_width=true ; width=0 ; alignment=centered ; is_default=true ; } ") fo)
(write-line "} " fo)
(close fo)
.....
.....
(setq dcl_id (load_dialog fname))
(if (not (new_dialog "DOC" dcl_id))
(exit)
)
; (new_dialog "DOC" ARQ_DCL)
@Sea-Haven wrote:
I had a go at using it, changed the dcl part to as below, this line is a problem (setq TILE (getvar "DECRITION")); so remmed it out. It did not work for me. There were errors also you labelled each key DOC1, there is something wrong with your pick a toggle I stopped at this point debugging.
Word appears to have changed with current version you were abl to do some copy and paste between acad and word but it does not like it now.
(setq fo (open (setq fname (vl-filename-mktemp "" "" ".dcl")) "w"))
(write-line " DOC : dialog " fo)
(write-line (strcat "{ label = " (chr 34) "OFFICE" (chr 34) "; ") fo)
(write-line ": row { " fo)
(write-line ": column { " fo)
(write-line (strcat ": toggle { label = " (chr 34) "DOC X" (chr 34) " ; key = " (chr 34) "DOCX" (chr 34) "; } ") fo)
(write-line (strcat ": toggle {label = " (chr 34) "DOC Y" (chr 34) "; key = " (chr 34) "DOCY" (chr 34) "; } ") fo)
(write-line (strcat ": toggle { label = " (chr 34) "DOC Z" (chr 34) "; key = " (chr 34) "DOCZ" (chr 34) "; }}} ") fo)
(write-line (strcat ": button { label = " (chr 34) "EXIT" (chr 34) " ; key =" (chr 34) "BT-SAIR" (chr 34) " ; fixed_width=true ; width=0 ; alignment=centered ; } ") fo)
(write-line (strcat " : button { label = " (chr 34) "GO DOC" (chr 34) "; key =" (chr 34) "BT-GODOC" (chr 34) " ; fixed_width=true ; width=0 ; alignment=centered ; is_default=true ; } ") fo)
(write-line "} " fo)
(close fo)
.....
.....
(setq dcl_id (load_dialog fname))
(if (not (new_dialog "DOC" dcl_id))
(exit)
)
; (new_dialog "DOC" ARQ_DCL)
@Sea-Haven wrote:
I had a go at using it, changed the dcl part to as below, this line is a problem (setq TILE (getvar "DECRITION")); so remmed it out. It did not work for me. There were errors also you labelled each key DOC1, there is something wrong with your pick a toggle I stopped at this point debugging.
Word appears to have changed with current version you were abl to do some copy and paste between acad and word but it does not like it now.
(setq fo (open (setq fname (vl-filename-mktemp "" "" ".dcl")) "w"))
(write-line " DOC : dialog " fo)
(write-line (strcat "{ label = " (chr 34) "OFFICE" (chr 34) "; ") fo)
(write-line ": row { " fo)
(write-line ": column { " fo)
(write-line (strcat ": toggle { label = " (chr 34) "DOC X" (chr 34) " ; key = " (chr 34) "DOCX" (chr 34) "; } ") fo)
(write-line (strcat ": toggle {label = " (chr 34) "DOC Y" (chr 34) "; key = " (chr 34) "DOCY" (chr 34) "; } ") fo)
(write-line (strcat ": toggle { label = " (chr 34) "DOC Z" (chr 34) "; key = " (chr 34) "DOCZ" (chr 34) "; }}} ") fo)
(write-line (strcat ": button { label = " (chr 34) "EXIT" (chr 34) " ; key =" (chr 34) "BT-SAIR" (chr 34) " ; fixed_width=true ; width=0 ; alignment=centered ; } ") fo)
(write-line (strcat " : button { label = " (chr 34) "GO DOC" (chr 34) "; key =" (chr 34) "BT-GODOC" (chr 34) " ; fixed_width=true ; width=0 ; alignment=centered ; is_default=true ; } ") fo)
(write-line "} " fo)
(close fo)
.....
.....
(setq dcl_id (load_dialog fname))
(if (not (new_dialog "DOC" dcl_id))
(exit)
)
; (new_dialog "DOC" ARQ_DCL)
@Sea-Haven wrote:
I had a go at using it, changed the dcl part to as below, this line is a problem (setq TILE (getvar "DECRITION")); so remmed it out. It did not work for me. There were errors also you labelled each key DOC1, there is something wrong with your pick a toggle I stopped at this point debugging.
Word appears to have changed with current version you were abl to do some copy and paste between acad and word but it does not like it now.
(setq fo (open (setq fname (vl-filename-mktemp "" "" ".dcl")) "w"))
(write-line " DOC : dialog " fo)
(write-line (strcat "{ label = " (chr 34) "OFFICE" (chr 34) "; ") fo)
(write-line ": row { " fo)
(write-line ": column { " fo)
(write-line (strcat ": toggle { label = " (chr 34) "DOC X" (chr 34) " ; key = " (chr 34) "DOCX" (chr 34) "; } ") fo)
(write-line (strcat ": toggle {label = " (chr 34) "DOC Y" (chr 34) "; key = " (chr 34) "DOCY" (chr 34) "; } ") fo)
(write-line (strcat ": toggle { label = " (chr 34) "DOC Z" (chr 34) "; key = " (chr 34) "DOCZ" (chr 34) "; }}} ") fo)
(write-line (strcat ": button { label = " (chr 34) "EXIT" (chr 34) " ; key =" (chr 34) "BT-SAIR" (chr 34) " ; fixed_width=true ; width=0 ; alignment=centered ; } ") fo)
(write-line (strcat " : button { label = " (chr 34) "GO DOC" (chr 34) "; key =" (chr 34) "BT-GODOC" (chr 34) " ; fixed_width=true ; width=0 ; alignment=centered ; is_default=true ; } ") fo)
(write-line "} " fo)
(close fo)
.....
.....
(setq dcl_id (load_dialog fname))
(if (not (new_dialog "DOC" dcl_id))
(exit)
)
; (new_dialog "DOC" ARQ_DCL)
@Sea-Haven wrote:
I had a go at using it, changed the dcl part to as below, this line is a problem (setq TILE (getvar "DECRITION")); so remmed it out. It did not work for me. There were errors also you labelled each key DOC1, there is something wrong with your pick a toggle I stopped at this point debugging.
Word appears to have changed with current version you were abl to do some copy and paste between acad and word but it does not like it now.
(setq fo (open (setq fname (vl-filename-mktemp "" "" ".dcl")) "w"))
(write-line " DOC : dialog " fo)
(write-line (strcat "{ label = " (chr 34) "OFFICE" (chr 34) "; ") fo)
(write-line ": row { " fo)
(write-line ": column { " fo)
(write-line (strcat ": toggle { label = " (chr 34) "DOC X" (chr 34) " ; key = " (chr 34) "DOCX" (chr 34) "; } ") fo)
(write-line (strcat ": toggle {label = " (chr 34) "DOC Y" (chr 34) "; key = " (chr 34) "DOCY" (chr 34) "; } ") fo)
(write-line (strcat ": toggle { label = " (chr 34) "DOC Z" (chr 34) "; key = " (chr 34) "DOCZ" (chr 34) "; }}} ") fo)
(write-line (strcat ": button { label = " (chr 34) "EXIT" (chr 34) " ; key =" (chr 34) "BT-SAIR" (chr 34) " ; fixed_width=true ; width=0 ; alignment=centered ; } ") fo)
(write-line (strcat " : button { label = " (chr 34) "GO DOC" (chr 34) "; key =" (chr 34) "BT-GODOC" (chr 34) " ; fixed_width=true ; width=0 ; alignment=centered ; is_default=true ; } ") fo)
(write-line "} " fo)
(close fo)
.....
.....
(setq dcl_id (load_dialog fname))
(if (not (new_dialog "DOC" dcl_id))
(exit)
)
; (new_dialog "DOC" ARQ_DCL)
@Sea-Haven wrote:
I had a go at using it, changed the dcl part to as below, this line is a problem (setq TILE (getvar "DECRITION")); so remmed it out. It did not work for me. There were errors also you labelled each key DOC1, there is something wrong with your pick a toggle I stopped at this point debugging.
Word appears to have changed with current version you were abl to do some copy and paste between acad and word but it does not like it now.
(setq fo (open (setq fname (vl-filename-mktemp "" "" ".dcl")) "w"))
(write-line " DOC : dialog " fo)
(write-line (strcat "{ label = " (chr 34) "OFFICE" (chr 34) "; ") fo)
(write-line ": row { " fo)
(write-line ": column { " fo)
(write-line (strcat ": toggle { label = " (chr 34) "DOC X" (chr 34) " ; key = " (chr 34) "DOCX" (chr 34) "; } ") fo)
(write-line (strcat ": toggle {label = " (chr 34) "DOC Y" (chr 34) "; key = " (chr 34) "DOCY" (chr 34) "; } ") fo)
(write-line (strcat ": toggle { label = " (chr 34) "DOC Z" (chr 34) "; key = " (chr 34) "DOCZ" (chr 34) "; }}} ") fo)
(write-line (strcat ": button { label = " (chr 34) "EXIT" (chr 34) " ; key =" (chr 34) "BT-SAIR" (chr 34) " ; fixed_width=true ; width=0 ; alignment=centered ; } ") fo)
(write-line (strcat " : button { label = " (chr 34) "GO DOC" (chr 34) "; key =" (chr 34) "BT-GODOC" (chr 34) " ; fixed_width=true ; width=0 ; alignment=centered ; is_default=true ; } ") fo)
(write-line "} " fo)
(close fo)
.....
.....
(setq dcl_id (load_dialog fname))
(if (not (new_dialog "DOC" dcl_id))
(exit)
)
; (new_dialog "DOC" ARQ_DCL)
@Sea-Haven wrote:
I had a go at using it, changed the dcl part to as below, this line is a problem (setq TILE (getvar "DECRITION")); so remmed it out. It did not work for me. There were errors also you labelled each key DOC1, there is something wrong with your pick a toggle I stopped at this point debugging.
Word appears to have changed with current version you were abl to do some copy and paste between acad and word but it does not like it now.
(setq fo (open (setq fname (vl-filename-mktemp "" "" ".dcl")) "w"))
(write-line " DOC : dialog " fo)
(write-line (strcat "{ label = " (chr 34) "OFFICE" (chr 34) "; ") fo)
(write-line ": row { " fo)
(write-line ": column { " fo)
(write-line (strcat ": toggle { label = " (chr 34) "DOC X" (chr 34) " ; key = " (chr 34) "DOCX" (chr 34) "; } ") fo)
(write-line (strcat ": toggle {label = " (chr 34) "DOC Y" (chr 34) "; key = " (chr 34) "DOCY" (chr 34) "; } ") fo)
(write-line (strcat ": toggle { label = " (chr 34) "DOC Z" (chr 34) "; key = " (chr 34) "DOCZ" (chr 34) "; }}} ") fo)
(write-line (strcat ": button { label = " (chr 34) "EXIT" (chr 34) " ; key =" (chr 34) "BT-SAIR" (chr 34) " ; fixed_width=true ; width=0 ; alignment=centered ; } ") fo)
(write-line (strcat " : button { label = " (chr 34) "GO DOC" (chr 34) "; key =" (chr 34) "BT-GODOC" (chr 34) " ; fixed_width=true ; width=0 ; alignment=centered ; is_default=true ; } ") fo)
(write-line "} " fo)
(close fo)
.....
.....
(setq dcl_id (load_dialog fname))
(if (not (new_dialog "DOC" dcl_id))
(exit)
)
; (new_dialog "DOC" ARQ_DCL)
what I want is that in the dcl I can select more than one doc, and generate them simultaneously because the input base is the same as all texts