CLEAN
4
Risk Score
Machine Learning
- Nyx PDF Classifier clean score 0.0014
Heuristics 2
-
Encrypted PDF (string and stream contents are opaque to static scan) info PDF_ENCRYPTEDPDF declares /Encrypt — string objects and stream contents are encrypted with the standard security handler (RC4 or AES). On its own this is informational; legitimate encrypted documents include signed contracts, billing statements, and rights-managed material. Static heuristics cannot inspect encrypted payload bytes.
-
Embedded URL info EMBEDDED_URLOne or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.URL http://www.acrotex.net/blog/?p=784#comments In extracted file (javascript_obj0189_012.js)
- http://www.acrotex.net/blog/wp-content/uploads/2012/05/pdfblog_26.pdfIn extracted file (javascript_obj0189_012.js)
Extracted artifacts 30
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
javascript_obj0063_000.js |
pdf-javascript-stream | PDF /JS object 63 at offset 0x8084 | 32 bytes |
SHA-256: dee01d55abd5756cedf049c4f31b2fe1df87383462293dc03df5b6003359fae5 |
|||
Preview scriptFirst 1,000 lines of the extracted script
event.target.buttonImportIcon(); |
|||
javascript_obj0095_004.js |
pdf-javascript-stream | PDF /JS object 95 at offset 0x9DCF | 33 bytes |
SHA-256: b49875e7a786cc7d62191be88c49afc7a7f53551d4ec30ddf24c3fd7583d7233 |
|||
Preview scriptFirst 1,000 lines of the extracted script
AFDate_KeystrokeEx("mm/dd/yyyy");
|
|||
javascript_obj0096_005.js |
pdf-javascript-stream | PDF /JS object 96 at offset 0x9E1E | 38 bytes |
SHA-256: ae95d6581723cae0c2c1e3044a60f6c91e032264799b53449cd6269e6993d7bc |
|||
Preview scriptFirst 1,000 lines of the extracted script
AFNumber_Format(0, 0, 0, 0, "", true); |
|||
javascript_obj0097_006.js |
pdf-javascript-stream | PDF /JS object 97 at offset 0x9E72 | 41 bytes |
SHA-256: 617ef4da07d9bc9d4e06a2320fe0d4cbacd3d6c2cc82039cf4e79e7facf7545f |
|||
Preview scriptFirst 1,000 lines of the extracted script
AFNumber_Keystroke(0, 0, 0, 0, "", true); |
|||
javascript_obj0141_007.js |
pdf-javascript-stream | PDF /JS object 141 at offset 0xC6B5 | 147 bytes |
SHA-256: 62b3455181e3a9a3ddf22bcdc3df206774880b2992ffc2adf74464962bb9a366 |
|||
Preview scriptFirst 1,000 lines of the extracted script
if( app.alert({
cMsg: "Do you want to clear this document?",
cTitle: "Reset Form Warning",
nIcon: 2,
nType: 2
}) == 4) {
this.resetForm();
}
|
|||
javascript_obj0153_008.js |
pdf-javascript-stream | PDF /JS object 153 at offset 0xD64E | 68 bytes |
SHA-256: 5be35c7aed0143b83ed1f89cba3eec4a8978325d7c580959c59c7dd898e14bdd |
|||
Preview scriptFirst 1,000 lines of the extracted script
function custmMergeChange(event){
return AFMergeChange(event);
}
|
|||
javascript_obj0182_009.js |
pdf-javascript-stream | PDF /JS object 182 at offset 0xFF1D | 6018 bytes |
SHA-256: 4a1414e710d071b5b13b2e41e919c76b3cd9812e804ba6abbcd4c0d46d31cf9a |
|||
Preview scriptFirst 1,000 lines of the extracted script
var ctr = this.getField("CT Request");
var mer = this.getField("ME Request");
var cti = this.getField("CT Info");
var mei = this.getField("ME Info");
var ctp = this.getField("CT Preview");
var mep = this.getField("ME Preview");
var cts = this.getField("Submit CT Form");
var mes = this.getField("Submit ME Form");
var res = this.getField("Reset CT Info");
var prev = this.getField("Preview Citation");
ctr.display = display.visible;
mer.display = display.hidden;
cti.display = display.visible;
mei.display = display.hidden;
ctp.display = display.visible;
mep.display = display.hidden;
cts.display = display.visible;
mes.display = display.hidden;
res.buttonSetCaption("Reset Citation Information");
prev.buttonSetCaption("Preview Citation");
//_______RE-PREVIEW CITATION/MEMORIAL IF ONE IS ALREADY PRESENT_________
//DECLARE ALL VARIABLES
var x = this.getField("Blank").value;
var n = this.getField("Recipient Name");
var b = this.getField("Inscription");
var cal = this.getField("Presentation Date").value;
var d; //date
var m; //month
var o; //ordinal
var y; //year
var JoinArrayStyle = new Array();
var t = this.getField("Citation Complete"); //for debugging purposes
//ALL VARIABLES DECLARED
//_____________________________________________________________________
if(this.getField("Citation Complete").value !== x) {
if(cal.length !== 10 && cal.length !== 0) {
app.alert({cMsg: "Please ensure the Presentation Date Field is written in mm/dd/yyyy format.", cTitle: "Incorrect Date Format", nIcon: 3, nType: 0});
}
else {
//START CONVERTING MONTH FROM NUMBERS TO TEXT
if(cal.charAt(0) == "0" && cal.charAt(1) == "1") {
m = "January";}
if(cal.charAt(0) == "0" && cal.charAt(1) == "2") {
m = "February";}
if(cal.charAt(0) == "0" && cal.charAt(1) == "3") {
m = "March";}
if(cal.charAt(0) == "0" && cal.charAt(1) == "4") {
m = "April";}
if(cal.charAt(0) == "0" && cal.charAt(1) == "5") {
m = "May";}
if(cal.charAt(0) == "0" && cal.charAt(1) == "6") {
m = "June";}
if(cal.charAt(0) == "0" && cal.charAt(1) == "7") {
m = "July";}
if(cal.charAt(0) == "0" && cal.charAt(1) == "8") {
m = "August";}
if(cal.charAt(0) == "0" && cal.charAt(1) == "9") {
m = "September";}
if(cal.charAt(0) == "1" && cal.charAt(1) == "0") {
m = "October";}
if(cal.charAt(0) == "1" && cal.charAt(1) == "1") {
m = "November";}
if(cal.charAt(0) == "1" && cal.charAt(1) == "2") {
m = "December";}
//STOP CONVERTING MONTH FROM NUMBERS TO TEXT
//_____________________________________________________________________
//START CHECKING DATE TO DETERMINE ORDINAL INDICATOR
d = cal.charAt(3) + cal.charAt(4);
//For instance, if the date is 09/17/18,
//the value of d will be 17. The characters
//are strung together, not added together.
if(cal.charAt(3) == "0") {
d = cal.charAt(4);}
//For instance, if the date is 09/05/18,
//the value of d will be 5. This line is intended
//to remove the 0 from the string so that
//when displayed in the presentation date
//on the actual citation, it doesn't read as
//"Presented on this 05th day of September 2018"
if(d.length == 1) {
if(d.charAt(0) == "1") {
o = "st";}
else if(d.charAt(0) == "2") {
o = "nd";}
else if(d.charAt(0) == "3") {
o = "rd";}
else {
o = "th";}
}
if(d.length == 2) {
if(d.charAt(1) == "1" && d !== "11") {
o = "st";}
else if(d.charAt(1) == "2" && d !== "12") {
o = "nd";}
else if(d.charAt(1) == "3" && d !== "13") {
o = "rd";}
else {
o = "th";}
}
//STOP CHECKING DATE TO DETERMINE ORDINAL INDICATOR
//_____________________________________________________________________
//START CHECKING YEAR
y = cal.charAt(6) + cal.charAt(7) + cal.charAt(8) + cal.charAt(9);
if(this.getField("Presentation Date").value.length == 0) {
m = "Unspecified Month,";
d = "Unspecified";
o = "";
y = "Unspecified Year";
}
//STOP CHECKING YEAR
//_____________________________________________________________________
//START COMPILING RELEVANT FIELDS FOR CITATION PREVIEW
if(ctr.display == display.visible) {
JoinArrayStyle[0] = new Object();
JoinArrayStyle[0].text = "Be it hereby known to all that\nsincerest congratulations\nare offered to\n";
JoinArrayStyle[1] = new Object();
JoinArrayStyle[1].text = n.value;
JoinArrayStyle[1].fontWeight = 800;
JoinArrayStyle[1].textColor = color.red;
JoinArrayStyle[2] = new Object();
JoinArrayStyle[2].text = "\nin recognition of\n";
JoinArrayStyle[3] = new Object();
JoinArrayStyle[3].text = b.value
JoinArrayStyle[3].textColor = color.red;
JoinArrayStyle[4] = new Object();
JoinArrayStyle[4].text = "\nPresented on this " + d + o + " day of " + m + " " + y;
this.getField("Citation Complete").richValue = JoinArrayStyle;
}
//STOP COMPILING RELEVANT FIELDS FOR CITATION PREVIEW
//_____________________________________________________________________
//START COMPILING RELEVANT FIELDS FOR MEMORIAL PREVIEW
else {
JoinArrayStyle[0] = new Object();
JoinArrayStyle[0].text = "Be it hereby known to all that\nsincerest sympathy is\nextended to the family of\n";
JoinArrayStyle[1] = new Object();
JoinArrayStyle[1].text = n.value;
JoinArrayStyle[1].fontWeight = 800;
JoinArrayStyle[1].textColor = color.red;
JoinArrayStyle[2] = new Object();
JoinArrayStyle[2].text = "\n";
JoinArrayStyle[3] = new Object();
JoinArrayStyle[3].text = b.value
JoinArrayStyle[3].textColor = color.red;
JoinArrayStyle[4] = new Object();
JoinArrayStyle[4].text = "\nPresented on this " + d + o + " day of " + m + " " + y;
this.getField("Citation Complete").richValue = JoinArrayStyle;
}
//STOP COMPILING RELEVANT FIELDS FOR MEMORIAL PREVIEW
}
}
|
|||
javascript_obj0183_010.js |
pdf-javascript-stream | PDF /JS object 183 at offset 0x10550 | 6018 bytes |
SHA-256: 8e548e492c6d60dae94716089295ceb5927234fbbeffabf3ea52fe3e58c4ff68 |
|||
Preview scriptFirst 1,000 lines of the extracted script
var ctr = this.getField("CT Request");
var mer = this.getField("ME Request");
var cti = this.getField("CT Info");
var mei = this.getField("ME Info");
var ctp = this.getField("CT Preview");
var mep = this.getField("ME Preview");
var cts = this.getField("Submit CT Form");
var mes = this.getField("Submit ME Form");
var res = this.getField("Reset CT Info");
var prev = this.getField("Preview Citation");
ctr.display = display.hidden;
mer.display = display.visible;
cti.display = display.hidden;
mei.display = display.visible;
ctp.display = display.hidden;
mep.display = display.visible;
cts.display = display.hidden;
mes.display = display.visible;
res.buttonSetCaption("Reset Memorial Information");
prev.buttonSetCaption("Preview Memorial");
//_______RE-PREVIEW CITATION/MEMORIAL IF ONE IS ALREADY PRESENT_________
//DECLARE ALL VARIABLES
var x = this.getField("Blank").value;
var n = this.getField("Recipient Name");
var b = this.getField("Inscription");
var cal = this.getField("Presentation Date").value;
var d; //date
var m; //month
var o; //ordinal
var y; //year
var JoinArrayStyle = new Array();
var t = this.getField("Citation Complete"); //for debugging purposes
//ALL VARIABLES DECLARED
//_____________________________________________________________________
if(this.getField("Citation Complete").value !== x) {
if(cal.length !== 10 && cal.length !== 0) {
app.alert({cMsg: "Please ensure the Presentation Date Field is written in mm/dd/yyyy format.", cTitle: "Incorrect Date Format", nIcon: 3, nType: 0});
}
else {
//START CONVERTING MONTH FROM NUMBERS TO TEXT
if(cal.charAt(0) == "0" && cal.charAt(1) == "1") {
m = "January";}
if(cal.charAt(0) == "0" && cal.charAt(1) == "2") {
m = "February";}
if(cal.charAt(0) == "0" && cal.charAt(1) == "3") {
m = "March";}
if(cal.charAt(0) == "0" && cal.charAt(1) == "4") {
m = "April";}
if(cal.charAt(0) == "0" && cal.charAt(1) == "5") {
m = "May";}
if(cal.charAt(0) == "0" && cal.charAt(1) == "6") {
m = "June";}
if(cal.charAt(0) == "0" && cal.charAt(1) == "7") {
m = "July";}
if(cal.charAt(0) == "0" && cal.charAt(1) == "8") {
m = "August";}
if(cal.charAt(0) == "0" && cal.charAt(1) == "9") {
m = "September";}
if(cal.charAt(0) == "1" && cal.charAt(1) == "0") {
m = "October";}
if(cal.charAt(0) == "1" && cal.charAt(1) == "1") {
m = "November";}
if(cal.charAt(0) == "1" && cal.charAt(1) == "2") {
m = "December";}
//STOP CONVERTING MONTH FROM NUMBERS TO TEXT
//_____________________________________________________________________
//START CHECKING DATE TO DETERMINE ORDINAL INDICATOR
d = cal.charAt(3) + cal.charAt(4);
//For instance, if the date is 09/17/18,
//the value of d will be 17. The characters
//are strung together, not added together.
if(cal.charAt(3) == "0") {
d = cal.charAt(4);}
//For instance, if the date is 09/05/18,
//the value of d will be 5. This line is intended
//to remove the 0 from the string so that
//when displayed in the presentation date
//on the actual citation, it doesn't read as
//"Presented on this 05th day of September 2018"
if(d.length == 1) {
if(d.charAt(0) == "1") {
o = "st";}
else if(d.charAt(0) == "2") {
o = "nd";}
else if(d.charAt(0) == "3") {
o = "rd";}
else {
o = "th";}
}
if(d.length == 2) {
if(d.charAt(1) == "1" && d !== "11") {
o = "st";}
else if(d.charAt(1) == "2" && d !== "12") {
o = "nd";}
else if(d.charAt(1) == "3" && d !== "13") {
o = "rd";}
else {
o = "th";}
}
//STOP CHECKING DATE TO DETERMINE ORDINAL INDICATOR
//_____________________________________________________________________
//START CHECKING YEAR
y = cal.charAt(6) + cal.charAt(7) + cal.charAt(8) + cal.charAt(9);
if(this.getField("Presentation Date").value.length == 0) {
m = "Unspecified Month,";
d = "Unspecified";
o = "";
y = "Unspecified Year";
}
//STOP CHECKING YEAR
//_____________________________________________________________________
//START COMPILING RELEVANT FIELDS FOR CITATION PREVIEW
if(ctr.display == display.visible) {
JoinArrayStyle[0] = new Object();
JoinArrayStyle[0].text = "Be it hereby known to all that\nsincerest congratulations\nare offered to\n";
JoinArrayStyle[1] = new Object();
JoinArrayStyle[1].text = n.value;
JoinArrayStyle[1].fontWeight = 800;
JoinArrayStyle[1].textColor = color.red;
JoinArrayStyle[2] = new Object();
JoinArrayStyle[2].text = "\nin recognition of\n";
JoinArrayStyle[3] = new Object();
JoinArrayStyle[3].text = b.value
JoinArrayStyle[3].textColor = color.red;
JoinArrayStyle[4] = new Object();
JoinArrayStyle[4].text = "\nPresented on this " + d + o + " day of " + m + " " + y;
this.getField("Citation Complete").richValue = JoinArrayStyle;
}
//STOP COMPILING RELEVANT FIELDS FOR CITATION PREVIEW
//_____________________________________________________________________
//START COMPILING RELEVANT FIELDS FOR MEMORIAL PREVIEW
else {
JoinArrayStyle[0] = new Object();
JoinArrayStyle[0].text = "Be it hereby known to all that\nsincerest sympathy is\nextended to the family of\n";
JoinArrayStyle[1] = new Object();
JoinArrayStyle[1].text = n.value;
JoinArrayStyle[1].fontWeight = 800;
JoinArrayStyle[1].textColor = color.red;
JoinArrayStyle[2] = new Object();
JoinArrayStyle[2].text = "\n";
JoinArrayStyle[3] = new Object();
JoinArrayStyle[3].text = b.value
JoinArrayStyle[3].textColor = color.red;
JoinArrayStyle[4] = new Object();
JoinArrayStyle[4].text = "\nPresented on this " + d + o + " day of " + m + " " + y;
this.getField("Citation Complete").richValue = JoinArrayStyle;
}
//STOP COMPILING RELEVANT FIELDS FOR MEMORIAL PREVIEW
}
}
|
|||
javascript_obj0188_011.js |
pdf-javascript-stream | PDF /JS object 188 at offset 0x10D41 | 4509 bytes |
SHA-256: f4ef81dc7d80614e2b1f21e15afa333aa15a1329779ad1d9bd2fcb5017f3a56b |
|||
Preview scriptFirst 1,000 lines of the extracted script
this.getField("District Options").value = "Off";
this.getField("Delegation Options").value = "Off";
this.getField("Chair(s) Only").value = "Off";
this.getField("List Member Names").value = "Off";
if (event.value == "Senator" || event.value == "Delegate") {
this.getField("District NA").value = "Not Applicable\nfor this Signer";
this.getField("Delegation NA").value = "Not Applicable\nfor this Signer";
this.getField("District NA").display = display.visible;
this.getField("Delegation NA").display = display.visible;
this.getField("District Options").display = display.hidden;
this.getField("Senators & Delegates Text").display = display.hidden;
this.getField("Delegates Only Text").display = display.hidden;
this.getField("Delegation Options").display = display.hidden;
this.getField("MGA Delegation Text").display = display.hidden;
this.getField("House Delegation Text").display = display.hidden;
this.getField("Senate Delegation Text").display = display.hidden;
this.getField("Chair(s) Only").display = display.hidden;
this.getField("Chair(s) Only Text").display = display.hidden;
this.getField("List Member Names").display = display.hidden;
this.getField("List Member Names Text").display = display.hidden;
}
else if (event.value == "District") {
this.getField("District NA").value = "Not Applicable\nfor this Signing Group";
this.getField("Delegation NA").value = "Not Applicable\nfor this Signing Group";
this.getField("District NA").display = display.hidden;
this.getField("Delegation NA").display = display.visible;
this.getField("District Options").display = display.visible;
this.getField("Senators & Delegates Text").display = display.visible;
this.getField("Delegates Only Text").display = display.visible;
this.getField("Delegation Options").display = display.hidden;
this.getField("MGA Delegation Text").display = display.hidden;
this.getField("House Delegation Text").display = display.hidden;
this.getField("Senate Delegation Text").display = display.hidden;
this.getField("Chair(s) Only").display = display.hidden;
this.getField("Chair(s) Only Text").display = display.hidden;
this.getField("List Member Names").display = display.hidden;
this.getField("List Member Names Text").display = display.hidden;
}
else if (event.value == "Delegation") {
this.getField("District NA").value = "Not Applicable\nfor this Signing Group";
this.getField("Delegation NA").value = "Not Applicable\nfor this Signing Group";
this.getField("District NA").display = display.visible;
this.getField("Delegation NA").display = display.hidden;
this.getField("District Options").display = display.hidden;
this.getField("Senators & Delegates Text").display = display.hidden;
this.getField("Delegates Only Text").display = display.hidden;
this.getField("Delegation Options").display = display.visible;
this.getField("MGA Delegation Text").display = display.visible;
this.getField("House Delegation Text").display = display.visible;
this.getField("Senate Delegation Text").display = display.visible;
this.getField("Chair(s) Only").display = display.hidden;
this.getField("Chair(s) Only Text").display = display.hidden;
this.getField("List Member Names").display = display.hidden;
this.getField("List Member Names Text").display = display.hidden;
}
else {
this.getField("District NA").value = "Select a Signing Group\nto enable options";
this.getField("Delegation NA").value = "Select a Signing Group\nto enable options";
this.getField("District NA").display = display.visible;
this.getField("Delegation NA").display = display.visible;
this.getField("District Options").display = display.hidden;
this.getField("Senators & Delegates Text").display = display.hidden;
this.getField("Delegates Only Text").display = display.hidden;
this.getField("Delegation Options").display = display.hidden;
this.getField("MGA Delegation Text").display = display.hidden;
this.getField("House Delegation Text").display = display.hidden;
this.getField("Senate Delegation Text").display = display.hidden;
this.getField("Chair(s) Only").display = display.hidden;
this.getField("Chair(s) Only Text").display = display.hidden;
this.getField("List Member Names").display = display.hidden;
this.getField("List Member Names Text").display = display.hidden;
}
|
|||
javascript_obj0189_012.js |
pdf-javascript-stream | PDF /JS object 189 at offset 0x10F20 | 585 bytes |
SHA-256: 694c77a1ce5d9431bce87d0356706c6a4a173c93af2a7e8bdee07ee0b55006e4 |
|||
Preview scriptFirst 1,000 lines of the extracted script
var maxChars = event.target.charLimit;
if(event.target.value.length == 0){
this.getField("Character Count").value = maxChars;}
//______________________________________________________________________
//This form uses both 'On Focus' activated Javascript and
//Custom Keystroke Javascript, as well as a document-level script.
//The code was taken from the following website:
//http://www.acrotex.net/blog/?p=784#comments
//a sample document containing the script is linked from that website:
//http://www.acrotex.net/blog/wp-content/uploads/2012/05/pdfblog_26.pdf
|
|||
javascript_obj0190_013.js |
pdf-javascript-stream | PDF /JS object 190 at offset 0x110B2 | 570 bytes |
SHA-256: 37aa7749d1ca60603ee82234ac6e5925eafcb032c2851a964193f23930987ca0 |
|||
Preview scriptFirst 1,000 lines of the extracted script
var value = custmMergeChange(event);
var L = value.length;
this.getField("Character Count").value = (maxChars-L);
//______________________________________________________________________
//This form uses both 'On Focus' activated Javascript and
//Custom Keystroke Javascript, as well as a document-level script.
//The code was taken from the following website:
//http://www.acrotex.net/blog/?p=784#comments
//A sample document containing the script is linked from that website:
//http://www.acrotex.net/blog/wp-content/uploads/2012/05/pdfblog_26.pdf
|
|||
javascript_obj0191_014.js |
pdf-javascript-stream | PDF /JS object 191 at offset 0x1123C | 1367 bytes |
SHA-256: 02a133a2c74b2781a480b330a8d73230449253f21ef3d4f46290d4f43c7943cd |
|||
Preview scriptFirst 1,000 lines of the extracted script
var x = this.getField("Blank").value;
var ctr = this.getField("CT Request");
if(ctr.display == display.visible) {
if( app.alert({
cMsg: "Do you want to clear the Citation Information section?",
cTitle: "Reset Form Warning",
nIcon: 2,
nType: 2
}) == 4) {
this.getField("Requestor Type").value = "None";
this.getField("Requestor").value = x;
this.getField("Recipient Name").value = x;
this.getField("Inscription").value = x;
this.getField("Presentation Date").value = x;
this.getField("Citation Complete").value = x;
this.getField("District Options").value = "Off";
this.getField("Delegation Options").value = "Off";
this.getField("Chair(s) Only").value = "Off";
this.getField("List Member Names").value = "Off";
} }
else {
if( app.alert({
cMsg: "Do you want to clear the Memorial Information section?",
cTitle: "Reset Form Warning",
nIcon: 2,
nType: 2
}) == 4) {
this.getField("Requestor Type").value = "None";
this.getField("Requestor").value = x;
this.getField("Recipient Name").value = x;
this.getField("Inscription").value = x;
this.getField("Presentation Date").value = x;
this.getField("Citation Complete").value = x;
this.getField("District Options").value = "Off";
this.getField("Delegation Options").value = "Off";
this.getField("Chair(s) Only").value = "Off";
this.getField("List Member Names").value = "Off";
} }
|
|||
javascript_obj0192_015.js |
pdf-javascript-stream | PDF /JS object 192 at offset 0x113DD | 5036 bytes |
SHA-256: c31cd3c3edc5ad12a2081a01181bd1c11403d660b2b26c76fe883019e17695a6 |
|||
Preview scriptFirst 1,000 lines of the extracted script
//DECLARE ALL VARIABLES
var n = this.getField("Recipient Name");
var b = this.getField("Inscription");
var cal = this.getField("Presentation Date").value;
var d; //date
var m; //month
var o; //ordinal
var y; //year
var ctr = this.getField("CT Request");
var JoinArrayStyle = new Array();
//ALL VARIABLES DECLARED
//_____________________________________________________________________
if(cal.length !== 10 && cal.length !== 0) {
app.alert({cMsg: "Please ensure the Presentation Date Field is written in mm/dd/yyyy format.", cTitle: "Incorrect Date Format", nIcon: 3, nType: 0});
}
else {
//START CONVERTING MONTH FROM NUMBERS TO TEXT
if(cal.charAt(0) == "0" && cal.charAt(1) == "1") {
m = "January";}
if(cal.charAt(0) == "0" && cal.charAt(1) == "2") {
m = "February";}
if(cal.charAt(0) == "0" && cal.charAt(1) == "3") {
m = "March";}
if(cal.charAt(0) == "0" && cal.charAt(1) == "4") {
m = "April";}
if(cal.charAt(0) == "0" && cal.charAt(1) == "5") {
m = "May";}
if(cal.charAt(0) == "0" && cal.charAt(1) == "6") {
m = "June";}
if(cal.charAt(0) == "0" && cal.charAt(1) == "7") {
m = "July";}
if(cal.charAt(0) == "0" && cal.charAt(1) == "8") {
m = "August";}
if(cal.charAt(0) == "0" && cal.charAt(1) == "9") {
m = "September";}
if(cal.charAt(0) == "1" && cal.charAt(1) == "0") {
m = "October";}
if(cal.charAt(0) == "1" && cal.charAt(1) == "1") {
m = "November";}
if(cal.charAt(0) == "1" && cal.charAt(1) == "2") {
m = "December";}
//STOP CONVERTING MONTH FROM NUMBERS TO TEXT
//_____________________________________________________________________
//START CHECKING DATE TO DETERMINE ORDINAL INDICATOR
d = cal.charAt(3) + cal.charAt(4);
//For instance, if the date is 09/17/18,
//the value of d will be 17. The characters
//are strung together, not added together.
if(cal.charAt(3) == "0") {
d = cal.charAt(4);}
//For instance, if the date is 09/05/18,
//the value of d will be 5. This line is intended
//to remove the 0 from the string so that
//when displayed in the presentation date
//on the actual citation, it doesn't read as
//"Presented on this 05th day of September 2018"
if(d.length == 1) {
if(d.charAt(0) == "1") {
o = "st";}
else if(d.charAt(0) == "2") {
o = "nd";}
else if(d.charAt(0) == "3") {
o = "rd";}
else {
o = "th";}
}
if(d.length == 2) {
if(d.charAt(1) == "1" && d !== "11") {
o = "st";}
else if(d.charAt(1) == "2" && d !== "12") {
o = "nd";}
else if(d.charAt(1) == "3" && d !== "13") {
o = "rd";}
else {
o = "th";}
}
//STOP CHECKING DATE TO DETERMINE ORDINAL INDICATOR
//_____________________________________________________________________
//START CHECKING YEAR
y = cal.charAt(6) + cal.charAt(7) + cal.charAt(8) + cal.charAt(9);
if(this.getField("Presentation Date").value.length == 0) {
m = "Unspecified Month,";
d = "Unspecified";
o = "";
y = "Unspecified Year";
}
//STOP CHECKING YEAR
//_____________________________________________________________________
//START COMPILING RELEVANT FIELDS FOR CITATION PREVIEW
if(ctr.display == display.visible) {
JoinArrayStyle[0] = new Object();
JoinArrayStyle[0].text = "Be it hereby known to all that\nsincerest congratulations\nare offered to\n";
JoinArrayStyle[1] = new Object();
JoinArrayStyle[1].text = n.value;
JoinArrayStyle[1].fontWeight = 800;
JoinArrayStyle[1].textColor = color.red;
JoinArrayStyle[2] = new Object();
JoinArrayStyle[2].text = "\nin recognition of\n";
JoinArrayStyle[3] = new Object();
JoinArrayStyle[3].text = b.value
JoinArrayStyle[3].textColor = color.red;
JoinArrayStyle[4] = new Object();
JoinArrayStyle[4].text = "\nPresented on this " + d + o + " day of " + m + " " + y;
this.getField("Citation Complete").richValue = JoinArrayStyle;
}
//STOP COMPILING RELEVANT FIELDS FOR CITATION PREVIEW
//_____________________________________________________________________
//START COMPILING RELEVANT FIELDS FOR MEMORIAL PREVIEW
else {
JoinArrayStyle[0] = new Object();
JoinArrayStyle[0].text = "Be it hereby known to all that\nsincerest sympathy is\nextended to the family of\n";
JoinArrayStyle[1] = new Object();
JoinArrayStyle[1].text = n.value;
JoinArrayStyle[1].fontWeight = 800;
JoinArrayStyle[1].textColor = color.red;
JoinArrayStyle[2] = new Object();
JoinArrayStyle[2].text = "\n";
JoinArrayStyle[3] = new Object();
JoinArrayStyle[3].text = b.value
JoinArrayStyle[3].textColor = color.red;
JoinArrayStyle[4] = new Object();
JoinArrayStyle[4].text = "\nPresented on this " + d + o + " day of " + m + " " + y;
this.getField("Citation Complete").richValue = JoinArrayStyle;
}
//STOP COMPILING RELEVANT FIELDS FOR MEMORIAL PREVIEW
}
|
|||
javascript_obj0216_016.js |
pdf-javascript-stream | PDF /JS object 216 at offset 0x132B8 | 430 bytes |
SHA-256: 7367e64753f1fc001b55fee8f3101f1cf9f711debd5821a5e18bc0223d34814b |
|||
Preview scriptFirst 1,000 lines of the extracted script
if (event.target.value == "Yes") {
this.getField("List Member Names").value = "Off";
this.getField("List Member Names").display = display.visible;
this.getField("List Member Names Text").display = display.visible;
}
else {
this.getField("List Member Names").value = "Off";
this.getField("List Member Names").display = display.hidden;
this.getField("List Member Names Text").display = display.hidden;
}
|
|||
javascript_obj0219_017.js |
pdf-javascript-stream | PDF /JS object 219 at offset 0x13495 | 1794 bytes |
SHA-256: c7f1818ee53c6b744aea98d313e58a343c26cdd167692a83757f564d3cd33640 |
|||
Preview scriptFirst 1,000 lines of the extracted script
var cPe = this.getField("Contact Person");
var pho = this.getField("Phone");
var req = this.getField("Requestor");
var rNa = this.getField("Recipient Name");
var ins = this.getField("Inscription");
var pDa = this.getField("Presentation Date");
var cal = this.getField("Presentation Date").value;
if(cPe.value == "" || pho.value == "" || req.value == "" || rNa.value == "" || ins.value == "" || pDa.value == "") {
app.alert({cMsg: "Ensure all required fields are filled.\n\nRequired fields include: Contact Person, Phone, Reqeustor, Recipient, Inscription, and Presentation Date.", cTitle: "Required Fields Incomplete", nIcon: 1, nType: 0});
}
else {
if(cal.length !== 10 && cal.length !== 0) {
app.alert({cMsg: "Please ensure the Presentation Date Field is written in mm/dd/yyyy format.", cTitle: "Incorrect Date Format", nIcon: 3, nType: 0});
}
else {
var a = app.alert({cMsg: "Have you saved your file yet? If so, click Yes to submit your request form to Graphics Services. If not, click No and you will be prompted to save your form in the format LastNameFirstName.pdf before submitting.\n\nClick Cancel to return to editing your request.", cTitle: "Save Check", nIcon: 2, nType: 3});
if(a == 4){
var cToAddr = "Graphics.Print.Requests@mlis.state.md.us"
var cSubLine = "Citation Submission"
var cBody = "Attached is the completed citation form."
this.mailDoc({bUI: true, cTo: cToAddr, cSubject: cSubLine, cMsg: cBody});
}
if(a == 3){
app.execMenuItem("SaveAs");
var cToAddr = "Graphics.Print.Requests@mlis.state.md.us"
var cSubLine = "Citation Submission"
var cBody = "Attached is the completed citation form."
this.mailDoc({bUI: true, cTo: cToAddr, cSubject: cSubLine, cMsg: cBody});
}
}
}
|
|||
javascript_obj0220_018.js |
pdf-javascript-stream | PDF /JS object 220 at offset 0x137A0 | 1794 bytes |
SHA-256: 9a350c6cf2e7f339565ecc5add670a23b263408e7a3a9166495866520c50bded |
|||
Preview scriptFirst 1,000 lines of the extracted script
var cPe = this.getField("Contact Person");
var pho = this.getField("Phone");
var req = this.getField("Requestor");
var rNa = this.getField("Recipient Name");
var ins = this.getField("Inscription");
var pDa = this.getField("Presentation Date");
var cal = this.getField("Presentation Date").value;
if(cPe.value == "" || pho.value == "" || req.value == "" || rNa.value == "" || ins.value == "" || pDa.value == "") {
app.alert({cMsg: "Ensure all required fields are filled.\n\nRequired fields include: Contact Person, Phone, Reqeustor, Recipient, Inscription, and Presentation Date.", cTitle: "Required Fields Incomplete", nIcon: 1, nType: 0});
}
else {
if(cal.length !== 10 && cal.length !== 0) {
app.alert({cMsg: "Please ensure the Presentation Date Field is written in mm/dd/yyyy format.", cTitle: "Incorrect Date Format", nIcon: 3, nType: 0});
}
else {
var a = app.alert({cMsg: "Have you saved your file yet? If so, click Yes to submit your request form to Graphics Services. If not, click No and you will be prompted to save your form in the format LastNameFirstName.pdf before submitting.\n\nClick Cancel to return to editing your request.", cTitle: "Save Check", nIcon: 2, nType: 3});
if(a == 4){
var cToAddr = "Graphics.Print.Requests@mlis.state.md.us"
var cSubLine = "Memorial Submission"
var cBody = "Attached is the completed memorial form."
this.mailDoc({bUI: true, cTo: cToAddr, cSubject: cSubLine, cMsg: cBody});
}
if(a == 3){
app.execMenuItem("SaveAs");
var cToAddr = "Graphics.Print.Requests@mlis.state.md.us"
var cSubLine = "Memorial Submission"
var cBody = "Attached is the completed memorial form."
this.mailDoc({bUI: true, cTo: cToAddr, cSubject: cSubLine, cMsg: cBody});
}
}
}
|
|||
javascript_obj0302_019.js |
pdf-javascript-stream | PDF /JS object 302 at offset 0x1650E | 367 bytes |
SHA-256: 64464575f005723c2a3c69e1d3a3e710fba5460f52f13cd8a46c59f93ca6dc79 |
|||
Preview scriptFirst 1,000 lines of the extracted script
if (event.target.value == "MGA Delegation") {
this.getField("Chair(s) Only").display = display.visible;
this.getField("Chair(s) Only Text").display = display.visible;
}
else {
this.getField("Chair(s) Only").value = "Off";
this.getField("Chair(s) Only").display = display.hidden;
this.getField("Chair(s) Only Text").display = display.hidden;
}
|
|||
javascript_obj0303_020.js |
pdf-javascript-stream | PDF /JS object 303 at offset 0x165EC | 369 bytes |
SHA-256: 54de2dd5576c3fce39808f04a08a790ea219cf2d51c3c629d20b110fff577e63 |
|||
Preview scriptFirst 1,000 lines of the extracted script
if (event.target.value == "House Delegation") {
this.getField("Chair(s) Only").display = display.visible;
this.getField("Chair(s) Only Text").display = display.visible;
}
else {
this.getField("Chair(s) Only").value = "Off";
this.getField("Chair(s) Only").display = display.hidden;
this.getField("Chair(s) Only Text").display = display.hidden;
}
|
|||
javascript_obj0304_021.js |
pdf-javascript-stream | PDF /JS object 304 at offset 0x166CB | 370 bytes |
SHA-256: 825f39a2b20758a5be474549675fefe2e5fe2a33fcd81544323f8f4b522df0bd |
|||
Preview scriptFirst 1,000 lines of the extracted script
if (event.target.value == "Senate Delegation") {
this.getField("Chair(s) Only").display = display.visible;
this.getField("Chair(s) Only Text").display = display.visible;
}
else {
this.getField("Chair(s) Only").value = "Off";
this.getField("Chair(s) Only").display = display.hidden;
this.getField("Chair(s) Only Text").display = display.hidden;
}
|
|||
font_00_cff_off00016a98.bin |
pdf-font-stream | PDF embedded font (cff) at offset 0x16A98 | 3009 bytes |
SHA-256: 53af0dd69502e341acf0ea6668e0e58c12455232385b75dc512cfbcc47e628dc |
|||
font_01_cff_off0001755c.bin |
pdf-font-stream | PDF embedded font (cff) at offset 0x1755C | 992 bytes |
SHA-256: 164b1f11f90687a7c5daa24b7f7bd713a6398200386dfb959c181681c1a9444c |
|||
font_02_cff_off00017936.bin |
pdf-font-stream | PDF embedded font (cff) at offset 0x17936 | 1907 bytes |
SHA-256: 0081e379b407a8feffa8072376b0116b3d30b99f543a49fc20dc01c9b0e2056c |
|||
font_03_cff_off00018049.bin |
pdf-font-stream | PDF embedded font (cff) at offset 0x18049 | 2072 bytes |
SHA-256: 0586f5f91e5d3cf4effb3fa410a7aaa8366300895986064d79b4c846a6cc629d |
|||
font_04_cff_off000187cb.bin |
pdf-font-stream | PDF embedded font (cff) at offset 0x187CB | 3015 bytes |
SHA-256: 2f7747a2e130a4e19fbe6db2ee32d8a9feb3c343ad2e5ca5749f4007a14e5ae1 |
|||
font_05_cff_off0001929a.bin |
pdf-font-stream | PDF embedded font (cff) at offset 0x1929A | 1702 bytes |
SHA-256: f75d3881545a69484d0d860dd3193e8c2c7a8ac3f15d39b91ae75655e3cfbcb8 |
|||
font_06_cff_off00019916.bin |
pdf-font-stream | PDF embedded font (cff) at offset 0x19916 | 1631 bytes |
SHA-256: a2043f7e7c3276c07557b38b58b7c8876a8a6104636654c01cb9ddec9cd47482 |
|||
font_07_cff_off0001a9fc.bin |
pdf-font-stream | PDF embedded font (cff) at offset 0x1A9FC | 1586 bytes |
SHA-256: 4ba1b5a516098c022e5c416bdae09b9b3f4855c635bfc44a46f63e4e53421745 |
|||
font_08_cff_off0001afa4.bin |
pdf-font-stream | PDF embedded font (cff) at offset 0x1AFA4 | 1208 bytes |
SHA-256: 7c03ce66c855c5f588579d34d9afbc4dc0323c725c4fb66fb4ad5ae11511f26c |
|||
font_09_cff_off0001b41e.bin |
pdf-font-stream | PDF embedded font (cff) at offset 0x1B41E | 996 bytes |
SHA-256: 188c8a1d86129514272bd2eeaac861d3f698078733dd1d17a276c00f1086de6b |
|||
font_10_cff_off0001b7d4.bin |
pdf-font-stream | PDF embedded font (cff) at offset 0x1B7D4 | 1062 bytes |
SHA-256: d1e83540a0160b13b8f5370622a027dec6399ece4fb64e95fa40fdf637803119 |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.