make new document and bring only it to front

Hi,

I need to make a new TextEdit document and bring it to front (on top of all other applications), but without all other TextEdit windows that may already be open coming to the front too. Is this possible?

The best I can come up with is this, but it doesn’t do what I want.


tell application "TextEdit"
	make new document
	activate
end tell

Thanks.

You can’t bring just one document to the front without bringing all of them. You can close all of the open documents before creating the new document or you might be able to minimize the open documents first.