DetectHiddenText

창을 찾기 위한 목적으로 창에서 보이지 않은 텍스트를 "보여줄지 말지" 결정합니다. This affects commands, built-in functions and control flow statements such as WinExist() and WinActivate.

DetectHiddenText, OnOff

매개변수

OnOff

On: 이것이 기본값입니다. 숨은 텍스트가 탐지됩니다.

Off: 숨은 텍스트는 탐지되지 않습니다.

[v1.1.30+]: The decimal values 1 and 0 may be used in place of On and Off, respectively.

논평

"숨은 텍스트"는 창에서 보이지 않는 콘트롤을 가리키는 용어입니다. 그래서 그의 텍스트도 "숨은"것으로 간주합니다. DetectHiddenText를 끄면 멀티-탭 대화상자 또는 다중-판 창에서 다른 판 사이의 차이를 발견하고 싶을 때 유용합니다. Window Spy를 사용하면 현재 활성 창에서 숨어 있는 텍스트를 알아낼 수 있습니다. All commands, built-in functions and control flow statements that accept a WinText parameter are affected by this setting, including WinActivate, WinActive(), IfWinActive, WinWait, WinExist(), and IfWinExist.

내장 변수 A_DetectHiddenText에 현재 설정이 들어 있습니다 (On 또는 Off).

새로 기동된 쓰레드마다 (핫키, 맞춤 메뉴 항목, 또는 타이머 서브루틴) 이 명령어에 대한 기본값을 가지고 새로 시작합니다. 이 설정은 이 명령어를 자동-실행 섹션에 (스크립트의 상단 부분) 사용하면 바꿀 수 있습니다.

DetectHiddenWindows

예제

Turns off the detection of hidden text.

DetectHiddenText, Off