Paste the following into AppleScript Editor and save it as ~/Library/ Application Support/Quicksilver/Actions/New Text Note In....scpt. Watch out for any extra line breaks that the Google Group might insert. With this script, you can enter text into the first pane, select the action in the second pane, and then choose either a folder or an existing plain text file in the third pane. If you choose a folder, a new text file will be created. If you choose an existing text file, your new text will be appended to the end of the file.
using terms from application "Quicksilver" on process text dObject with iObject try tell application "Finder" set k to kind of ((POSIX file (item 1 of (iObject as list))) as alias) end tell on error errMsg set k to errMsg end try if k is "Folder" then set r to item 1 of (iObject as list) & "/" & (dObject & ".txt") else if k is "Plain Text" then set r to item 1 of (iObject as list) else set r to "/dev/null" end if do shell script "echo " & quoted form of dObject & " >> " & quoted form of r if r is not "/dev/null" then return ((POSIX file r) as alias) else display dialog "Could not make a note in " & item 1 of (iObject as list) return dObject end if end process text on get argument count return 2 end get argument count end using terms from On Feb 20, 11:32 am, su <[email protected]> wrote: > Hello and thanks for keeping QS alive. > How can I take a quick note in plain text and leave it in the desktop? > I read in Howard Melman's User Guide about a Sticky Note action, > but I uninstalled Sticky Notes. > I searched for plugins and action in the prefs to no avail. > What I want to accomplish is much like what you'd do > when selecting some text in an app and dragging it to the desktop.
