[tool] Presentation tool Vanishing Markups  SOLVED

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

Mathew
User
Posts: 750
Joined: Thu Jun 19, 2014 7:30 pm

[tool] Presentation tool Vanishing Markups  SOLVED

Post by Mathew »

There's an official feature request for presentation mode options built-in. In the mean time this tool allows markups to be temporary (they will be removed after a configurable number of seconds).

Installation
Download and extract the zip file, and copy to %APPDATA%\Tracker Software\PDFXEditor\3.0\Javascripts
Detailed instructions in post viewtopic.php?p=196006#p196006
vanishingAnnots v1.0.zip

Usage
When the tool is installed and the application restarted, it adds a button to the Quick Launch toolbar in the top right corner of the window:
image.png
Click on the button to start the tool. If Ctrl is held down when starting the tool, it will skip the dialog and just start the tool.

The tool can also be run by pressing Ctrl-F12 (the shortcut can be changed with Customize Toolbars… > right click on the tool button > Properties)

There are two ways the tool can be run:
  1. Current Document:
    If there is a document open, it opens the following menu and runs only for the currently active document:
    image(1).png
  2. All Documents:
    If there are no documents open, the tool will run for all documents that are opened, until the tool is cancelled. Instead of the option to start presentation mode, there's an option to disable/enable a warning dialog:
    image(2).png
    If the warning is enabled, each time a document is opened while the tool is running it will show the following just to remind you that markups will be deleted:
    image(3).png
To cancel the Vanishing Markups tool, select the tool again:
image(4).png
The tool can be set to erase All Markups; any Highlight type markups (ie Highlight Text, Highlight Area, or Free Highlight); or just Free Highlight markups.

Hold Time is the approximate amount of time for the tool to wait until it deletes the markup.

Fade effect reduces the opacity of the markup over about 1/2 second before it is deleted. It's a bit more slick, but it adds lots of Undo's.

The CTRL menu is a popup menu with options to save recently drawn markup, or pause deleting ("Disappearing") markup, and some shortcuts to markup tools that will show up when the F12 key is pressed (and when the Ctrl key is pressed if "enabled"):
image(5).png
The CTRL menu tool shortcuts are configurable by pressing the [ Edit ] button:
image(6).png
Presentation Mode (ie only the document and no menus show) can be enabled when the tool closes -- you'll get a warning from PXCE. Alternatively, presentation mode can be enabled with the built-in button
image(7).png

Limitations
  • The tool is deleting markup, so each time, it adds to the list of undos. If "Fade" is enabled, it will add a lot more undos.
  • The tool will only work on PDF XChange version 10.5.0 (build 393) onwards.

Translations
The tool is translatable with the 1ang.js tool posted viewtopic.php?t=43253
Here are the translation strings:
translationData.vanishingAnnots.json.zip
You do not have the required permissions to view the files attached to this post.
Last edited by Mathew on Thu Oct 09, 2025 6:04 pm, edited 6 times in total.
User avatar
Dimitar - PDF-XChange
Site Admin
Posts: 2655
Joined: Mon Jan 15, 2018 9:01 am

Re: [tool] Presentation tool Vanishing Markups

Post by Dimitar - PDF-XChange »

Thank you for your effort, Mathew.
giano
User
Posts: 16
Joined: Thu Aug 21, 2025 12:17 pm

Re: [tool] Presentation tool Vanishing Markups

Post by giano »

You are really a genius!
User avatar
Dimitar - PDF-XChange
Site Admin
Posts: 2655
Joined: Mon Jan 15, 2018 9:01 am

Re: [tool] Presentation tool Vanishing Markups

Post by Dimitar - PDF-XChange »

Yes, he is. :-)
Mathew
User
Posts: 750
Joined: Thu Jun 19, 2014 7:30 pm

Re: [tool] Presentation tool Vanishing Markups

Post by Mathew »

❤️
User avatar
Dimitar - PDF-XChange
Site Admin
Posts: 2655
Joined: Mon Jan 15, 2018 9:01 am

[tool] Presentation tool Vanishing Markups

Post by Dimitar - PDF-XChange »

:)