Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Richard

share|improve this question
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.