check if Doro is elevated
This commit is contained in:
parent
eb07bc2a7e
commit
507f104552
|
@ -2294,6 +2294,11 @@ ChangeOnSleepTime(GUICtrl, *)
|
|||
|
||||
ClickOnDoro(*)
|
||||
{
|
||||
if !A_IsAdmin {
|
||||
MsgBox "请以管理员身份运行Doro"
|
||||
ExitApp
|
||||
}
|
||||
|
||||
WinGetClientPos ,, &userScreenW, &userScreenH, "NIKKE"
|
||||
global scrRatio
|
||||
scrRatio := userScreenW / stdScreenW
|
||||
|
|
Loading…
Reference in New Issue