# Unbelievably Massive and Overdue Update #

# Unbelievably Massive and Overdue Update #

So, it has been a very long time since I've been able to update
anything here. Things have been super-busy for the last several months,
but they have (hopefully) calmed down enough for me to push out this
update. My memory of all changes is hazy, but I'll *try* to recount all
that has occurred since the last update. That said, let's begin.

## .gitignore ##
* Updated to block all files in the `Test` folder.
* Now ignores all `.jar` files.

---
## ++OpenTemplate.jsx *(new)* ##
Illustrator script that opens a panel which displays all Illustrator
templates in a list and the ability to search in a box above the list.
It is meant to be run at the beginning of the day and stays open all
day.

---
## Acrobat/corTest.js *(new)* ##
**Deprecated.** Was used to test whether or not a PDF file output by
the Proof or Output script was corrupted, simply by attempting to open
the file in Acrobat. This has been replaced by the `testAndPrint.js`
file, details of which are below. Added now for archival purposes.

---
## Acrobat/CreditStamp.js *(new)* ##
Folder-level script for the Sales Department's Credit Stamp. It is used
to place company logo images on the credit stamp in Acrobat.

---
## Acrobat/MergePDFs.js *(new)* ##
Folder-level script for DataMerge. It is not used in the Proof nor the
Output scripts. When doing a data merge with coasters that have one or
more objects that much change on each coaster in a large set of
coasters, this script allows each individual PDF to be merged into a
single one. Still under development, but on hold for now until the call
for this process arises again.

---
## Acrobat/printDuplex.js *(new)* ##
**Deprecated.** Was used to print a document on both sides of a page,
for certain templates that need a front and back page printed. Has
since been merged with the above `corTest.js` file into
`testAndPrint.js`, below.

---
## Acrobat/testAndPrint.js *(new)* ##
Folder-level script for Proof/Spec page creation. The script first
attempts to open the PDF. If unsuccessful, it returns a `false` and the
main script will call it two more times before giving up. If the file
opens up fine, however, then it prints the file to the appropriate
printer. This script and function combines the functions of
`corTest.js` and `printDuplex.js`, thus it replaces them.

---
## Acrobat/unlockCover.js *(new)* ##
**Deprecated.** Was used to "unlock" the cover of the "new" cover
sheet, output by the Proofing script. Since a newer cover sheet has
been created since then, this script is no longer needed.

---
## Acrobat/unlockCover2014.js *(new)* ##
Folder-level script that contains a function to "unlock" the cover
sheet output by the Proofing script. This uses the 2014 version of the
cover sheet, which has a minor change since the one created in 2013 and
used by the now-deprecated `unlockCover.js` script.

---
## MergePDFs.applescript *(new)* ##
Intermediate script that is used during the Data Merge procedure. It
calls the Acrobat folder-level script `MergePDFs.js` to merge all of
the one-page PDFs into a single, multi-page PDF.

---
## OpenTemplate.jsx ##
Updates from v1.00 to v3.00:

* Added targeting
* Simplified Folder Prefix for new server configuration
* Compartmentalized code better
* Palette now remembers location on screen
* Added BridgeTalk system for actually opening the files
* Temporary wait window added for while files are opening
* Other minor bug fixes and features added

---
## Output.applescript *(new)* ##
Intermediary script that is called from the Java application and calls
the Output script. Most recent update adds the capability for Adobe's
Creative Cloud version of InDesign in place of the CS6 version.

---
## Output.jsx ##
No version number change:

* Fixed a bug that prevented Mini-Pad detection in certain
circumstances.

---
## OutputJ.jsx ##
Massive version update from v2.84 to 3.62:

* Completed Mini-Pad support!
* Added compatibility with Adobe's Creative Cloud version of InDesign &
Illustrator
* Progress bar updated
* Changes measurement units to Auto at beginning
* More data set for exporting back to the Java program at end of script
* Fixed some incorrect data being exported back to the Java program
* Fixed detecting when some variables are not a number when they should
be
* Thumbnail creation for the online Schedule Book
* Fixed number of times that the PDF corruption-detection & printing
runs
* Added trim() function to String prototype
* Fixed die creations with artwork that contains white and/or black
* Added holiday checking for date field in initial window
* Many other minor bug fixes and tweaks

---
## Proof.applescript *(new)* ##
Very similar to `Output.applescript`, above. It is an intermediary
script called from the Java program to execute the Proofing script. It
has been updated to support Adobe's Creative Cloud version of InDesign
in place of the CS6 version.

---
## Proof.jsx ##
v3.02 to v3.11:

* Added preliminary code for exporting data to the calling Java program
* Added code for checking the lightness/darkness (neutralDensity) of
the ink and product colors to help determine whether a job is Pad or
Screen printed
* Other minor bug fixes and tweaks

---
## ProofJ.jsx *(new)* ##
v3.11 to v3.61:

* Completed Java integration!
* Added compatibility with Adobe's Creative Cloud version of InDesign &
Illustrator
* Added ability to turn printing of proof pages on/off based on
top-of-script variable
* Changed temporary folder from server-based to client-based
* Added `trim()` function to String's prototype
* Updated case quantity for PartyPal plates from 120 to 160
* Added check in case the order number is accidentally placed in the
quantity box
* Fixed dialog text/background colors for InDesign CC default colors
* Updated the data that is sent back to the Java program
* Added thumbnail creation ability
* Many other minor bug fixes and tweaks

---
## Show Hidden Document.jsx *(new)* ##
Simple script that shows any hidden documents in InDesign.

---
## TestAndPrint.applescript *(new)* ##
Intermediary script that is called from both the Proofing and Output
scripts. It calls the Acrobat folder-level script function
`testAndPrint` (seen above) to both tests a PDF file for corruption and
then prints it.