• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Accessing Stickies' data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing Stickies' data


  • Subject: Re: Accessing Stickies' data
  • From: Deivy Petrescu <email@hidden>
  • Date: Thu, 09 Dec 2010 12:05:21 -0500

Jim

you should try before giving up....

<script>

set stickiescontents  to read (POSIX file "/Users/deivy/Library/StickiesDatabase" as alias)
stickiescontents

<\script>


On Dec 9, 2010, at 09:51 , Jim Thompson wrote:

> Okay...  Thanks a lot for your advice.
>
> Hmm...  I give up.
>
> Jim
>
>
> On Dec 9, 2010, at 10:32 PM, André Renault wrote:
>
>> [NSMutableData readFromFile:…]
>>
>> Sent from my iPhone
>>
>> On Dec 9, 2010, at 8:17 AM, Steve Thompson <email@hidden> wrote:
>>
>>>
>>> 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
>
> _______________________________________________
> 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

Deivy Petrescu
email@hidden



 _______________________________________________
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

  • Follow-Ups:
    • Re: Accessing Stickies' data
      • From: Jim Thompson <email@hidden>
References: 
 >Accessing Stickies' data (From: Jim Thompson <email@hidden>)
 >Re: Accessing Stickies' data (From: Steve Thompson <email@hidden>)
 >Re: Accessing Stickies' data (From: André Renault <email@hidden>)
 >Re: Accessing Stickies' data (From: Jim Thompson <email@hidden>)

  • Prev by Date: osascript weirdness...
  • Next by Date: Re: Accessing Stickies' data
  • Previous by thread: Re: Accessing Stickies' data
  • Next by thread: Re: Accessing Stickies' data
  • Index(es):
    • Date
    • Thread