Created
February 4, 2020 19:05
-
-
Save cyancey76/2f8f667081bdead2fbc66e8ea3ff4cdb to your computer and use it in GitHub Desktop.
Change Acrobat PDF highlight color
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // document open script | |
| var appHighlightInitialValue = app.runtimeHighlight; | |
| var appHighlightInitialColorValue = app.runtimeHighlightColor; | |
| app.runtimeHighlight = true; | |
| app.runtimeHighlightColor = color.transparent; | |
| // document close script | |
| app.runtimeHighlight = appHighlightInitialValue; | |
| app.runtimeHighlightColor = appHighlightInitialColorValue; | |
| /* Colors available | |
| Transparent = color.transparent | |
| Black = color.black | |
| White = color.white | |
| Red = color.red | |
| Green = color.green | |
| Blue = color.blue | |
| Cyan = color.cyan | |
| Magenta = color.magenta | |
| Yellow = color.yellow | |
| Dark Gray = color.dkGray | |
| Gray = color.gray | |
| Light Gray = color.ltGray | |
| */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment