public static Primitive Read(Primitive delay) { try { Thread thread = new Thread(Delay); thread.Start((int)delay); Primitive result = TextWindow.Read(); thread.Abort(); return result; } catch (Exception ex) { Utilities.OnError(Utilities.GetCurrentMethod(), ex); } return ""; }