Войти

Показать полную графическую версию : [решено] Windows XP - определить работу скрипта в безопасном режиме


-TRM-
28-03-2014, 12:14
Здравствуйте форумчане !
Как возможно определить работу скрипта в безопасном режиме в Windows XP ?

madmasles
28-03-2014, 14:04
-TRM-,
Если я Вас правильно понял, то попробуйте примерно так.#include (http://autoit-script.ru/autoit3_docs/keywords.htm##include) <WindowsConstants.au3>
#include (http://autoit-script.ru/autoit3_docs/keywords.htm##include) <WinAPI.au3>

Global (http://www.autoitscript.com/autoit3/docs/keywords.htm#Global) $aBoot[3] = ['Normal Boot', 'Fail-safe boot', 'Fail-safe with network boot'], $iInd
$iInd = _WinAPI_GetSystemMetrics (http://autoit-script.ru/autoit3_docs/libfunctions/_winapi_getsystemmetrics.htm)($SM_CLEANBOOT)
ConsoleWrite (http://autoit-script.ru/autoit3_docs/functions/ConsoleWrite.htm)($aBoot[$iInd] & @LF (http://autoit-script.ru/autoit3_docs/macros.htm#@lf))

-TRM-
22-04-2014, 16:34
madmasles, Спасибо - работает.




© OSzone.net 2001-2012