Re: Set Contents not working
Re: Set Contents not working
- Subject: Re: Set Contents not working
- From: Ted <email@hidden>
- Date: Mon, 14 Nov 2005 16:13:53 -0800
tell application "TextEdit"
make new document
set the text of front document to "Database report on " & dName &
return & return
end tell
Thanks a million, Kai. That fixed the problem. However, there's
one last thing that doesn't work properly. Here's the code:
tell application "TextEdit"
make new document
set the text of front document to "Database report on " & dName &
return & return
set the font of the last paragraph of front document to "Courier"
set the size of the last paragraph of front document to "12"
...
end tell
The lines that begin with "set the font..." and "set the size..."
don't appear to do anything. The entire text is only a single font
of a single size. Again, I've studied the dictionary, but I don't
see what could be wrong. Any ideas?
Thanks again,
Ted
Superior Shelving Systems
http://www.superiorshelving.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden