- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm creating this lsp to link the contact and their respective email in the dcl, after clicking on the link open the customer's email with the file name, this is possible! ????
happy New Year to everybody!!!
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
TEST-TEST-T : dialog
{label = "TEST";
:row{
:row{
: boxed_column{ label="[ EMAIL ]";
: text {value= "_________________________________________________________________________________________";width=30;alignment=LEFT;}
: button {label = "[email protected]"; key = "url01";fixed_width=true;width=5;alignment=centered;}
: button {label = "[email protected]"; key = "url02";fixed_width=true;width=5;alignment=centered;}
: button {label = "[email protected]"; key = "url03";fixed_width=true;width=5;alignment=centered;}
: text {value= "_________________________________________________________________________________________";width=30;alignment=LEFT;}
}
}
:row{
: boxed_column{ label="[ CONTACT ]";
: text {value= "_________________________________________________________________________________________";width=30;alignment=LEFT;}
: text {value= "CITY NAME TELEFONE ";width=150;alignment=LEFT;}
: text {value= "_________________________________________________________________________________________";width=30;alignment=LEFT;}
: text {value= "01 CITY NAME TELEFONE ";width=150;alignment=LEFT;}
: text {value= "02 CITY NAME TELEFONE ";width=150;alignment=LEFT;}
: text {value= "03 CITY NAME TELEFONE ";width=150;alignment=LEFT;}
: text {value= "_________________________________________________________________________________________";width=30;alignment=LEFT;}
}
}
}
ok_only;
} ;end dcl
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
;start lsp
(DEFUN C:SEND ()
(setq ARQ_DCL (load_dialog "STANDARD-MENU") )
(new_dialog "TEST-TEST-T " ARQ_DCL)
(start_dialog)
(princ)
)
;;;;
(DEFUN C:EMAIL()
(setq FLAGOK nil)
(setq NAME_a nil)
(setq NAME_b nil)
(setq NAME_c nil)
(setq dcl_id (load_dialog "TEST-TEST-T "))
(setq FLAGOK1 T)
(setq XFIM1 0)
(while FLAGOK1
(action_tile "URL03" "(setq NAME_a 1)(done_dialog 2)")
(action_tile "URL02" "(setq NAME_a 1)(done_dialog 2)")
(action_tile "URL01" "(setq NAME_b 1)(done_dialog 1)")
(action_tile "BT-SAIR" "(done_dialog 0)")
(setq XFIM1 (start_dialog))
;
(if (= XFIM1 0) (setq FLAGOK1 nil))
(if (= XFIM1 1) (c:NAME_a))
(if (= XFIM1 2) (c:NAME_b))
(if (= XFIM1 2) (c:NAME_C))
)
(princ)
);end lsp
(defun c:NAME_a ()
(startapp "EMAIL" (strcat "/N,/E," (getvar "DWGPREFIX"))
(setq adress ( [email protected]))
(princ));end lsp
(defun c:NAME_a ()
(startapp "EMAIL" (strcat "/N,/E," (getvar "DWGPREFIX"))
(setq adress ( [email protected]))
(princ));end lsp
(defun c:NAME_c ()
(startapp "EMAIL" (strcat "/N,/E," (getvar "DWGPREFIX"))
(setq adress ( [email protected]))
(princ));end lsp
Solved! Go to Solution.