Re: Accessing Stickies' data
Re: Accessing Stickies' data
- Subject: Re: Accessing Stickies' data
- From: Steve Thompson <email@hidden>
- Date: Thu, 09 Dec 2010 13:17:23 +0000
On 9 Dec 2010, at 04:44, Jim Thompson wrote:
> And I get an error. So is there any way to access this database file and get the number of records in it?
It's not a database file. Stickies stores the data as NSMutableData - that is, it's a long string of characters that Stickies parses in order to display the data within. And to further complicate it, NSMutableData is binary data so you couldn't, for example, grep the file for the string that marks the end of one note and the start of another.
I'm not saying it's impossible but it's not going to be easy.
Steve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden