1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
\documentclass{article}
\usepackage[designv]{web}
\usepackage{eforms}
\ifpdf\def\x{%
\usepackage[T1]{fontenc}
\usepackage[altbullet]{lucidabr}}
\let\copyright\textcopyright
\else\def\x{%
\usepackage[altbullet]{lucidbry}}
\usepackage[active]{srcltx}
\fi\x
\let\pkg\textsf
\begin{defineJS}{\isImportAnFDFKnown}
console.clear(); console.show();
if ( typeof aebImportAnFDF == "function" ) {
app.beep(0);
console.println("");
console.println("aeb.js is successfully installed, congratulations!");
console.println("You're ready to Rock with AcroTeX!");
} else {
app.beep(0); app.beep(0);
console.println("aeb.js is not, repeat NOT, installed correctly!");
}
\end{defineJS}
\begin{defineJS}{\isAddWatermarkFromFileKnown}
console.clear(); console.show();
if ( typeof aebAddWatermarkFromFile == "function" ) {
app.beep(0);
console.println("");
console.println("aeb_pro.js is successfully installed, congratulations!");
console.println("You're ready to Rock with AcroTeX Pro, ho, ho!");
} else {
app.beep(0); app.beep(0);
console.println("aeb_pro.js is not, repeat NOT, installed correctly!");
}
\end{defineJS}
\thispagestyle{empty}
\parindent0pt\parskip6pt
\begin{document}
\begin{center}\bfseries
Testing the \pkg{AeB} and \pkg{AeB Pro} Installation
\end{center}
This file is used to test for proper installation of \texttt{aeb.js} and
\texttt{aeb\_pro.js}. After following the instructions of
\texttt{js-files/install\_jsfiles.pdf} of the \pkg{acrotex-js} distribution,
test the installation by pressing the push buttons below.
To test the \textsf{AeB} installation, press this button:
\pushButton[\TU{Press to test the AeB installation}\CA{AeB}\A{\JS{\isImportAnFDFKnown}}]{btnTest}{}{11bp}
To test the \textsf{AeB Pro} installation, press this button:
\pushButton[\TU{Press to test the AeB Pro installation}\CA{AeB Pro}\A{\JS{\isAddWatermarkFromFileKnown}}]{btnTest}{}{11bp}
Congratulations if a successful installation is indicated.
On failure, did you close \textsf{Acrobat} before opening this file? (The JS
files are only read once when the \textsf{Acrobat} application is opened.)
When all else fails, try rereading the installation instructions again
(\texttt{install\_jsfiles.pdf}), found in the \texttt{docs} folder of the \pkg{acrotex-js} package, but more
carefully this time.
Still failing? Do you have \textsf{Acrobat DC}? Perhaps your \textsf{Acrobat}
needs to be configured. Try reading \texttt{acrobat-in-workflow.pdf}, found
in the \texttt{docs} folder of the \pkg{acrotex-js} package.
\end{document}
|