0 Members and 1 Guest are viewing this topic.
[CommandMethod("doit")] public static void doit() { Editor ed = Application.DocumentManager.MdiActiveDocument.Editor; string userName = "Dan"; ed.WriteMessage(userName ?? "User name not specified"); }