найдено грамоское решение извлечение диска
Код: result = Drive.GetType("C");
if (result == 5) then
Drive.Eject("C");
end
result = Drive.GetType("D");
if (result == 5) then
Drive.Eject("D");
end
result = Drive.GetType("E");
if (result == 5) then
Drive.Eject("E");
end
result = Drive.GetType("F");
if (result == 5) then
Drive.Eject("F");
end
result = Drive.GetType("G");
if (result == 5) then
Drive.Eject("G");
end
result = Drive.GetType("H");
if (result == 5) then
Drive.Eject("H");
end
result = Drive.GetType("I");
if (result == 5) then
Drive.Eject("I");
end
result = Drive.GetType("J");
if (result == 5) then
Drive.Eject("J");
end
Код: result = Drive.GetType("C");
if (result == 5) then
Drive.Eject("C");
end
result = Drive.GetType("D");
if (result == 5) then
Drive.Eject("D");
end
result = Drive.GetType("E");
if (result == 5) then
Drive.Eject("E");
end
result = Drive.GetType("F");
if (result == 5) then
Drive.Eject("F");
end
result = Drive.GetType("G");
if (result == 5) then
Drive.Eject("G");
end
result = Drive.GetType("H");
if (result == 5) then
Drive.Eject("H");
end
result = Drive.GetType("I");
if (result == 5) then
Drive.Eject("I");
end
result = Drive.GetType("J");
if (result == 5) then
Drive.Eject("J");
end