var niz = project.Profile.AvailScreenHeight;
// Конструктор действий, тип Get
HtmlElement he = instance.ActiveTab.FindElementByAttribute("html", "fulltagname", "html", "regexp", 0);
if (he.IsVoid) return -1;
// Получить значение атрибута "top"
string height = he.GetAttribute("height");
var Y1 = he.GetAttribute("top");
// Текст для обработки
string text = project.ExecuteMacro(Y1);
// Обработка текста "Замена"
Y1 = Convert.ToString( Macros.TextProcessing.Replace(text, "-", "", "Text", "All"));
int num1 = (Convert.ToInt32(Y1));
int num2 = (Convert.ToInt32(niz));
int num3 = (Convert.ToInt32(height));
var Y2 = num3 - (num1 + num2);
if (Y2<10){
return "yes";
}