creatiing new document in TextEdit and saving it to a folder
I've tried a couple of things, including
tell application "TextEdit"
activate
make new document
set fileSpec to "Disk:Documents:Barbara:TestFile"
save document 1 in fileSpec
end tell
which creates a new untitled document and brings up a dialog, which isn't what I want. I also tried something that involved "with properties {name:TestFile} but that didn't work either.
I have Applescript the definitive guide and Applescript in a Nutshell but neither seems to describe this situation, although surely it's a common one.
I'd be most grateful for any help.
macbook Mac OS X (10.4.6)