From: Bill M. <wm...@ne...> - 2008-09-29 15:22:12
|
Thanks for forwarding this, I'll see if I can give it a try. Bill >Actually, Bill, there is a way to get the functionality you're looking >for, but it involves overriding the default behavior of skim. You will >need keyboard macro software. I use Keyboard Maestro ($36 US) a tool >that has changed my life. > >Here's what you do: > > 0. Enbable the Skim hidden preference >(SKReadMissingNotesFromSkimFileOption) > > 1. Set up a macro (using Keyboard Maestro in my case) to intercept >the Command-S (default "Save") behavior in Skim > > 2. Tie this macro to execute an AppleScript that saves the skim notes >ONLY. > > 3. When you close the PDF and are asked "Do you want to save the >changes you made in the document [Name of Document]" choose "Don't >Save" with Command-D or a mouse click. > >This way, when you open up your PDF in Skim, the notes will be read in >automatically. > >Given that you're using a network space to store your PDFs, your files >may be well-organized in which case the solution outlined above has a >few advantages, one of which is the fact that your PDFs are untouched >by Skim. The other advantage is that OS bugs in saving EAs across the >network are neutralized. > >At the end of this email, you will find the AppleScript I invoke with >Command-S (step 2) to save skim notes. Note that the "repeat 2 times" >chunk is used to flash the screen to provide feedback that the notes >were in fact saved. > >hth, > >JW > >================= >try > tell application "Skim" > set filepath to path of front document > end tell > set filepath to POSIX file filepath > set filepath to Unicode text 1 thru -5 of (filepath as Unicode text) >& ".skim" > tell application "Skim" > save document 1 in filepath as "Skim Notes" > end tell > tell application "System Events" > repeat 2 times > key code 28 using {command down, control >down, option down} > end repeat > end tell > --display alert "notes saved" giving up after 1 >on error > display dialog "Could not save Skim Notes" >end try >==================== > > >------------------------------------------------------------------------- >This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >Build the coolest Linux based applications with Moblin SDK & win great prizes >Grand prize is a trip for two to an Open Source event anywhere in the world >http://moblin-contest.org/redirect.php?banner_id=100&url=/ >_______________________________________________ >Skim-app-users mailing list >Ski...@li... >https://lists.sourceforge.net/lists/listinfo/skim-app-users |