ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Special User Sections > N.A.N.Y. 2014

N.A.N.Y. 2014 Submission: sumatra_earmarks

(1/7) > >>

Nod5:
Use sumatra_earmarks to earmark any pdf page in SumatraPDF


Features
sumatra_earmark lets you earmark any pdf page in SumatraPDF
Each earmarked pdf page displays a blue square in the top right corner
Quickly toggle earmarks on/off with mouse or keyboard
Quicky jump to next/prev earmark page
Earmarks are autosaved to a textfile
Any pdf with at least one earmark shows a grey square in top right corner
Handy popup grid for quick jump to a specific earmark
Unique earmarks for different pdf files (based on file name)
The pdf files are not edited

Commands
Win+CapsLock = toggle earmark on/off for open pdf page
Win+PgUp/PgDn = jump to prev/next earmarked page in open pdf
Rightclick on blue/grey earmark square = toggle earmark on/off for open pdf page
Ctrl+Rightclick on blue/grey earmark square = popup grid for quick earmark jump
To customize hotkeys see tray icon menu

Download and details
http://nod5.dcmembers.com/sumatra_earmarks.html

v131120 new db format; works with pdf files with complex pagelabels (1,2,i,ii,iii,1.1,1.2,3,4,5...)
v131108 handles roman numeral pagenumbers; clarified help window
v131101 fixed mouse click bug (thanks you ewemoa!)
v131029b easier hotkey customization
v131029 reworked grid code; show current page below grid
v131028: earmark positioned next to scrollbar; trayicon menu; customize hotkeys (see tray menu)
v131026: first version

Please try it and report any bugs or issues.

Things to fix, features to maybe add:
- to fix: resize grid so all digits fit on different screen resolutions and scroll bar widths

ewemoa:
Was able to create a single earmark but a subsequent creation attempt lead to a crash of SumatraPDF -- but this was under Wine.

Nod5:
Hm, I wonder what the cause was. S_E saves each new bookmark to a .txt file database. It also tracks the pdf window position/title/pagenumber to overlay the bookmark correctly. I have never used autohotkey (or SumatraPDF) in Wine.

ewemoa:
Tested with more success via XP SP3.

Tried all of the shortcut keys with success :up:


In the test set up I see the little blue or grey rectangle covering the page-scrolling up arrow -- when I left click the square for a moment I see the scroll arrow and if I clickl soon enough the page scrolls a bit.  It doesn't seem easy to scroll by clicking on the up arrow while S_E is running.


Any chance of being able to configure the shortcut keys?  In my case I try not to have the Windows key be used for things outside of the system.


After control-right-clicking on the earmark square I see a little window with some numbers -- is there currently some way to tell which (if any) earmark might be closest to the page being currently displayed?

I think the page numbers are not being fully displayed here (e.g. for a two-digit page number I only fully see the first digit).

Nod5:
Thanks for the feedback.

v131028: earmark positioned next to scrollbar; trayicon menu; customize hotkeys (see tray menu)

To fix: resize grid so all digits fit on different screen resolutions and scroll bar widths.

Not sure how yet. The grid is a listview control that I've fudged together. I need to resize it more exact or generate the grid some other way. Any ideas on how to best make a clickable grid resized to fit a variable array of data in autohotkey?
Was there a scrollbar in the popup where some digits where cut off? A screenshot would help.

Navigation

[0] Message Index

[#] Next page

Go to full version