Insert clipboard into text.
Insert clipboard into text.
- Subject: Insert clipboard into text.
- From: Rachel Cogent <email@hidden>
- Date: Wed, 12 Sep 2001 17:52:43 -0600
I am attempting to insert a CR and the contents of the clipboard into every
file in the folder.
Here is an approximation:
tell application "Finder"
set foo to item 1 of selection
repeat with bar from 1 to (count files in foo)
set fileLocation to file bar of foo
tell window 1 of application "Tex-Edit Plus"
open fileLocation
set character 0 of line 6 to return
set insertion point to character 0 of line 6
paste
close window 1 saving no
end tell
end repeat
end tell
What am I doing wrong? I tried everything I could think of.
http://www.gnarlodious.com