Decoding Window 7 Sticky Notes File

I like the note taking app on windows 7 and need to quickly write a script to copy my notes to my iphone (easier than moving your laptop to meetings). How to extract notes from a notes file (C: \ Users \ USER \ AppData \ Roaming \ Microsoft \ Sticky Notes \ StickNotes.snt). The file saves cancellation records or other metadata for each note, so I cannot just read n bytes from the beginning of the note.

Edit: Example file - http://www.mediafire.com/download.php?qzgkj5gmdek

Encoding is hard for me to decode. Text fragments are not continuous, they are split into deleted lines (possibly allowing the cancellation of prints), and there are no clear delimiters. There is a trial application that decodes files. Description of the application taken from the website ...

http://www.simplecarver.com/exchange/articles/article-4.html

Structured Storage Extractor is a utility for reading and extracting information from Structured storage (ole container) files.

Apparently, the data is stored in an OLE stream format. I tried using the PEAR OLE library but did not read the stream correctly: /.

+3
source share
3 answers

StickNotes ( , OLE). (http://www.coco.co.uk/developers/CFX.html), CF/streams.

: OLE?

+1

7-Zip , 0 -, RTF . LibreOffice RTF PDF, . script, - :

7z x -yir!0 StickyNotes.snt
soffice --headless --convert-to pdf each_folder/each_0.rtf
+3

, , . , , , , .

If Microsoft did not publish this (a quick Google search showed nothing), you will need to try to determine it yourself by looking at some of the files. Also keep in mind that there is nothing to stop changing the Microsoft format from updating if they want to do this.

+1
source

All Articles