TextEdit: Paste into

(thx: Tom X). This will paste an image or text on the clipboard into the cursor position of an open document. Can be used to build a document out of images, text and other documents. (Requires UI scripting enabled.) Note the two lines where you must remove hyphens if running as a workflow.

--Paste into TextEdit
--tell application "TextEdit" to activate--remove hypens before "tell" if running as a workflow
tell application "System Events" 
tell process "TextEdit" to keystroke "v" using command down 
end tell 
--end tell --remove hypens before "end" if running as a workflow