- Код: выделить все
local handle
handle=window("firstwindow", "=thebat")
if (handle=="") do
"D:\soft\e-mail\the bat\thebat.exe" /nologo
else
Window Show &(handle)
endif
Wait Ready "=thebat"
handle=window("firstwindow", "=thebat")
if (handle!="") do
Keys {to &(handle)} {alt}{f2}{alt}
Wait Window "Центр Соединений"
Window Min! "&(handle),Центр соединений"
endif