summaryrefslogtreecommitdiff
path: root/texmf-dist/tex/latex/aebenvelope/envexecjs.def
diff options
context:
space:
mode:
Diffstat (limited to 'texmf-dist/tex/latex/aebenvelope/envexecjs.def')
-rw-r--r--texmf-dist/tex/latex/aebenvelope/envexecjs.def46
1 files changed, 46 insertions, 0 deletions
diff --git a/texmf-dist/tex/latex/aebenvelope/envexecjs.def b/texmf-dist/tex/latex/aebenvelope/envexecjs.def
new file mode 100644
index 00000000..7c0f069b
--- /dev/null
+++ b/texmf-dist/tex/latex/aebenvelope/envexecjs.def
@@ -0,0 +1,46 @@
+%%
+%% This is file `envexecjs.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% aeb_envelope.dtx (with options: `copyright,envexecjs')
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% aeb_envelope.sty package, 2007-05-14 %%
+%% Copyright (C) 2006 D. P. Story %%
+%% dpstory@acrotex.net %%
+%% storyd@owc.edu %%
+%% %%
+%% This program can redistributed and/or modified under %%
+%% the terms of the LaTeX Project Public License %%
+%% Distributed from CTAN archives in directory %%
+%% macros/latex/base/lppl.txt; either version 1 of the %%
+%% License, or (at your option) any later version. %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ % the eEnvelope out to your recipients.
+\begin{execJS}{envexecjs}
+global.oEmailArgs = {
+ bUI:\mailtoUI,
+ cTo: "\mailtoEmail",
+ cCc: "\mailtoCC",
+ cBcc: "\mailtoBCC",
+ cSubject: "\mailtoSubject",
+ cMsg: "\mailtoMessageBody"
+};
+\addWatermarkFromFile({
+ bOnTop:false,
+ cDIPath:"\pathtoEnv"
+});
+function mailItNow()
+{
+ try { this.mailDoc(global.oEmailArgs) } catch(e) {}
+}
+console.println("mailItNow();");
+\executeSave();
+if ( \mailitNow\space)
+ aebTrustedFunctions(this, aebMailDoc, global.oEmailArgs);
+\end{execJS}
+\endinput
+%%
+%% End of file `envexecjs.def'.