Description: Copies the content of a text file to the clipboard.
Useful for creating autotext that can be used anywhere. Will not work
with text clippings (files with names that end in ".textClipping",
usually created by dragging text from an application to the desktop).
Where to save: ~/Library/Application Support/Quicksilver/Actions

on open theseItems
        try
                set thisItem to item 1 of theseItems
                tell application "Finder" to set the clipboard to (read 
thisItem)
        on error errMsg
                tell application "Finder" to return errMsg
        end try
end open

Reply via email to