This is derived from my hint posted a few years ago.
Depending on your system version (and possibly other factors), you may need to launch Dashboard at least once if you haven't since system startup before trying the Service.
Here are the simple steps:
- Open Automator and create an empty Mac OS X Service document. In the document window set the first popup to text and the second pop-up to any application.
- Drag a Run AppleScript action into the right side of the Automator document window. Then paste the following line into the Run AppleScript step just beneath the (* Your script goes here *) line:
activate set inputText to (input as text) do shell script "open /Library/Widgets/Stickies.wdgt" delay 0.2 tell application "System Events" keystroke tab keystroke tab keystroke inputText end tell - Save the Service document as 'Sticky Widget from selected text,' then open the Keyboard prefpane.
- In the Keyboard Shortcuts segment tab, click Services, and put Command+Ctrl+Shift+S into the shortcut area for the Sticky Widget from selected text entry in the list. Close the prefpane (the keyboard trigger is just a suggestion - you can use others, just be sure to test, because whether a shortcut works or not can be affected by lots of things).
[crarko adds: I tested this (without the shortcut), and it works as described.]

