You need to actually write to the document. Consider this example:

function Main() {
var str;
var app;
var doc;

str = "Jedi Master Whopper Supreme";
app = Application;
doc = app.ActiveDocument;
doc.InsertText(str, true);
}

The last two lines in particular are what you are missing.


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to