I'm using Skim to add bookmarks my pdfs and have some questions:

  • Skim seems to have it's own bookmark manager with folders and bookmarks that allow you to open bookmarks inside pdfs that aren't currently opened. Where are these bookmarks and folders stored on my machine? If it's in a plist is it possible to get xml/plain text format?
  • I'm able to access the bookmarks by going to the main menu and clicking Bookmarks and then manually searching through a drop-down menu. Is it possible to search this? Is there a hotkey to access search?
  • I want to be able to search Skim's bookmarks via a ruby/bash/applescript without Skim being open. Is this possible? Can you point me to an example?
  • According to another answer cmd + shift + / searches bookmarks. – mbigras Feb 20 '17 at 6:55
  • They're stored in: $HOME/Library/Preferences/net.sourceforge.skim-app.skim.bookmarks.plist – user3439894 Feb 20 '17 at 7:11
  • How would I read the plist in a bash or ruby script? – mbigras Feb 20 '17 at 7:12
  • The net.sourceforge.skim-app.skim.bookmarks.plist file is a binary Property List file of which much of the information is hex encapsulated as shown by the output of defaults read net.sourceforge.skim-app.skim.bookmarks. However, if you pipe it to grep, e.g. defaults read net.sourceforge.skim-app.skim.bookmarks | grep 'label\|type' you'll see what could be considered useful information for formulating search queries upon. To get relevant fully qualified pathnames, you'd have to parse the "_BDAlias" = <hex_formatted_data> output to get that. – user3439894 Feb 20 '17 at 18:20
  • Do you know of a reliable way to parse it? I used xxd -r -p and got Untitled:Users:max:Dropbox:work:tmp:pdfminer_testing:agile.pdf but it also with some very messy output – mbigras Feb 20 '17 at 18:37

You must log in to answer this question.

Browse other questions tagged .