

Alex S
Member
Forum Replies Created
-
Points: 154Rank: UC2 Brainery Newbie
Can the API at least register the existence of markups? Thread hijacking a bit here, but: I’m seeking some way to count and log them for a given PDF in Revu. Are the API’s capabilities so limited that this isn’t possible?
-
Points: 154Rank: UC2 Brainery Newbie
I can’t speak to the API as I’ve never explored that feature.
I may be conflating “API” with available JavaScript methods and/or scripting routines. Aiming to break down that terminology & vocabulary barrier and ask clearer questions ASAP.
What is the end result that you are looking for? Number of text boxes? Number of highlights? Number of measurements?
All of the above whose main color is red. Such annotations could be broadly categorized as “redlines” (believe this is a common term but let me know if unclear), which are what I want to quantify per-page per-PDF.
Keep in mind that “count” type markups, depending upon how they are used, could show as 1 markup with a count of 20 items, or as 20 markups with a count of 1 per markup.
Fortunately, no such markups are used. All are basic PDF annotations for communicating modification of content. Each could/should be tallied singly.
I’m sure that we could come up with a solution that would export the markups list to a .CSV and then slice and dice the data contained in the markups list – if it will help you achieve your intended outcome.
Appreciate the offer and willingness to assist.
Desired/intended outcome: quantity of markups per sheet name/label prefix, per PDF.
Context for clarity: each sheet’s name/label is codified as [single-letter][three numbers], e.g. “A001”. My goal is to track the number of annotations across the sheets of each single-letter category. These might be represented as separate variables for discrete counts in code.
const typeA = 0;
const typeB = 0;
...Was hoping to achieve this with a single button press that just logs/prints said quantities (to console, popup dialog, etc.).
Quantities
A: 11
B: 14
...
Report EndShould exporting to and processing a .csv be the only way forward, so be it — I can work with that.