Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create a new Sticky widget from entered text' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create a new Sticky widget from entered text
Authored by: morespace54 on May 29, '09 11:03:37AM
Alternatively, if you want to make a sticky from previously copied text, you could simply remove (or comment) the first part:

set the clipboard to text returned of (display dialog "Enter some text for your new Sticky widget..." default answer "Note: ")
This way, you copy some text, invoke the script and your good. Thanks for sharing!

[ Reply to This | # ]
Create a new Sticky widget from entered text
Authored by: morespace54 on May 29, '09 11:05:56AM
...or to be "sticky-safe", you could change it to something like:

set the clipboard to Unicode text of (the clipboard as record)


[ Reply to This | # ]
Create a new Sticky widget from entered text
Authored by: barefootguru on May 29, '09 01:19:16PM

Note that since 10.5 all AppleScript string handling is in Unicode and 'string' and 'Unicode text' are both synonyms for 'text'.



[ Reply to This | # ]