[INTERFACE]
DIALOG, "Запуск Python", 322, 121;
CHECK, "Запускать вывод в консоль", 4, 0, 168, 20, int Consol;
CHECK, "Поверх окон", 180, 0, 100, 20, int Con_W;
STATIC, "Стартовая позиция", 4, 24, 104, 20;
EDIT, 112, 24, 68, 20, int Cx1;
EDIT, 184, 24, 68, 20, int Cy1;
STATIC, "Ширина и высота", 4, 48, 100, 20;
EDIT, 112, 48, 68, 20, int Cex;
EDIT, 184, 48, 68, 20, int Cey;
BUTTON_OK, "Принять", 108, 72, 100, 20;
BUTTON_CANCEL, "Закрыть", 212, 72, 100, 20;
[END][APPEARANCE]
COLOR = 28, 0, 128;
SIZE_X = 6;
SIZE_Y =2;
[END]

[ASSOC_VAR]
Consol=1;
Con_W=1;
Cx1=10;
Cy1=10;
Cex=700;
Cey=200;
[END]


[EVENT]
IF (Consol==0)ENABLE(GETID(Con_W), 0);
IF (Consol==0)ENABLE(GETID(Cx1), 0);
IF (Consol==0)ENABLE(GETID(Cy1), 0);
IF (Consol==0)ENABLE(GETID(Cex), 0);
IF (Consol==0)ENABLE(GETID(Cey), 0);
IF (Consol==1)ENABLE(GETID(Con_W), 1);
IF (Consol==1)ENABLE(GETID(Cx1), 1);
IF (Consol==1)ENABLE(GETID(Cy1), 1);
IF (Consol==1)ENABLE(GETID(Cex), 1);
IF (Consol==1)ENABLE(GETID(Cey), 1);
[END]

[FUNCTION_BODY]
function(int Consol, int Con_W, int Cx1, int Cy1, int Cex, int Cey)
{
if (Consol)enableconsolepython(Con_W, 1, Cx1, Cy1, Cex, Cey);
}
[END]

[CALL]
(Consol, Con_W, Cx1, Cy1, Cex, Cey)
[END]
[FUNCTION_LOGIC]  
==1
[END]
