Показать полную графическую версию : [решено] Windows XP - определить работу скрипта в безопасном режиме
Здравствуйте форумчане !
Как возможно определить работу скрипта в безопасном режиме в 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))
madmasles, Спасибо - работает.
© OSzone.net 2001-2012
vBulletin v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.