Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been meaning to do this for a while, but I never got around to do it. The problem is that I have to do research how applescript works.

Anyway, I have now collected over 200 snippets for my programming, but I need to sort them out Putting them all in a textfile with some obvious breaks inbetween I could sort them and tag them for another snippet programm.

This is my first question here, so I hope I am at the right place, maybe stack overflow is also a good place to ask

Thanks in advannce, if someone already has done this or knows how to do this


share|improve this question
up vote 1 down vote accepted

Stickies isn't scriptable, but you can get the contents of notes if access for assistive devices is enabled.

tell application "System Events" to tell process "Stickies"
    set notes to value of text area 1 of scroll area 1 of windows
end tell
set text item delimiters to linefeed
set the clipboard to notes as text

(Just run the code above in AppleScript Editor.)

share|improve this answer
thank you Lauri, I will give it a try – Richard Nov 23 '12 at 4:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.