add a paragraph to the beginning of a doc
add a paragraph to the beginning of a doc
- Subject: add a paragraph to the beginning of a doc
- From: email@hidden
- Date: Tue, 19 Jun 2001 17:18:57 -0500
Hello,
I am writing a script for BBEdit. The file that is being editing in BBEdit
is a MS Word file. I am trying to insert a paragraph at the beginning with:
set first paragraph of document to "Filename" & Return
This gives the following error "Can't set paragraph 1 of document to
"Filename".
I have tried "set selection to insertion point..." and even "make new
paragraph..." The rest of my script, replacing characters and saving the
file, works great. What am I missing? Any ideas?
Thanks,
Celli