홈 Home
홈Home/프로그램Programs/WaitTillWaitTill

WaitTill v0.174

윈도우 창이 안정될 때까지 대기합니다.

A console tool to find a window and wait for it

버전Version0.174
업데이트Updated2026-09-27
크기Size158 KB
요구 사항RequiresWindows 10 이상Windows 10 or later
다운로드Download · WaitTill_v0.174.zip 압축 비밀번호Password: techbard

릴리스 노트Release notes

v0.174 2026-09-27 --run, --run-args, --run-dir 옵션 추가, --waitclose 대상 미지정 시 조용히 대기하고 0으로 종료되던 문제 12로 수정, 초기화 실패를 성공으로 보고하던 문제 수정, --help 에 없던 -h, -v, --langtest, --waitclose 안내 누락 수정 --run, --run-args and --run-dir options added, --waitclose with no target silently waiting and exiting 0, now exit 12, initialization failure reported as success, -h, -v, --langtest and --waitclose lines missing from --help 다운로드Download
v0.171 2025-04-22 공개 릴리스 Public release

콘솔 화면Console

WaitTill0.174
WaitTill v0.174
A console tool to find a window and wait for it.
Build: 2026-09-27  techbard@naver.com

Detected Language: kr

 사용법: WaitTill.exe [대상] [시간(초)] [--waitidle 초 | --waitclose 초] [옵션]

  [명령어 예시]
   1. WT.exe 3.5              : 3.5초 동안 단순 대기 (정수/실수 지원)
   2. WT.exe "메모장"         : 30초 탐색 및 활성화
   3. WT.exe mspaint.exe 10  : 10초간 프로세스 탐색
   4. WT.exe "App" --waitidle : 응답 안정화 감시 및 동기화
   5. WT.exe "App" --waitclose: 대상이 종료될 때까지 대기
   6. WT.exe "App" -q        : 콘솔 출력 없는 저소음 모드/대기
   7. WT.exe 5 --run deploy.bat : 대기 성공(0/1) 시 deploy.bat 실행 후 종료

  [옵션 설명]
   --waitidle [초] : 발견 후 응답 없음(Hung) 여부 정밀 감시
   --waitclose [초] : 대상이 종료되는 것을 감지하고 대기
   -e, --exact     : 창 제목의 완전 일치(Exact Match) 검사
   -q, --quiet     : Quiet 모드 (콘솔 출력 없이 종료 코드 반환)
   -h, --help      : 사용법 출력 후 종료
   -v, --version   : 버전 문자열만 출력 후 종료
   --info          : 상세 개발 정보 출력
   --lang ko|en    : 언어 수동 지정 (기본: OS 자동 감지)
   --langtest      : 언어 리소스 무결성 검사 출력
   --run <경로>    : 종료코드 0/1일 때 외부 프로그램을 fire-and-forget 실행
   --run-args <인자>: --run 대상에 전달할 인자 문자열
   --run-dir <경로>: --run 대상의 작업 디렉터리 (기본: 파일의 부모 디렉터리)

  [종료 코드 (Exit Codes)]
   0 : 발견 성공 (단순 검색 완료 / 대기 완료 / 닫힘 감지)
   1 : 준비 완료 (순항 안정화 또는 해빙 복구 확인 성공)
   10: 탐색 실패 (대상 미발견 또는 타임아웃)
   11: 유휴 실패 (제한 시간 내 안정화 조건 미충족)
   12: 닫힘 감지 실패 (시작 시 대상 미존재)
   20: 사용자 취소 (ESC 키 입력)
   21: 초기화 실패 (API/OS/콘솔 초기화)
   22: 인자 오류 (잘못된 옵션 또는 대상 누락)
   23: --waitidle 오류 (잘못된 유휴 대기 시간값)
   24: 타임아웃 오류 (잘못된 검색 시간값)
   25: 자원 부족 (시스템 메모리 할당 실패)

사용법Guide

WaitTill

콘솔 기반 창 대기 / 탐색 / 활성화 유틸리티입니다.

사용법

WaitTill.exe [대상] [시간(초)] [--waitidle 초 | --waitclose 초] [옵션]

명령어 예시

  1. WT.exe 3.5 - 3.5초 동안 단순 대기 (정수/실수 지원)
  2. WT.exe "메모장" - 30초 동안 탐색 후 활성화
  3. WT.exe mspaint.exe 10 - 10초 동안 프로세스 탐색
  4. WT.exe "App" --waitidle - 응답 안정성 모니터링
  5. WT.exe "App" --waitclose - 대상이 종료될 때까지 대기
  6. WT.exe "App" -q - Quiet 모드 (콘솔 출력 없음)
  7. WT.exe 5 --run deploy.bat - 대기 성공(종료 코드 0, 1) 시 deploy.bat 실행 후 종료

옵션

  • --waitidle [초] - 대상을 찾은 뒤 멈춤(Hung) 여부를 정밀하게 감지
  • --waitclose [초] - 대상이 종료되거나 사라지는 것을 대기
  • -e, --exact - 창 제목 완전 일치 검사
  • -q, --quiet - Quiet 모드 (종료 코드만 반환)
  • -h, --help - 사용법 출력 후 종료
  • -v, --version - 버전 문자열만 출력 후 종료
  • --info - 개발자용 상세 정보 출력
  • --lang ko|en - 언어 수동 지정
  • --langtest - 언어 리소스 무결성 검사 출력
  • --run <경로> - 대기 성공(종료 코드 0, 1) 시 외부 프로그램 실행
  • --run-args <인자> - --run 대상에 넘길 인자 문자열
  • --run-dir <경로> - --run 대상의 작업 폴더 (기본: 대상 파일의 부모 폴더)

--waitidle 과 --waitclose 는 동시에 쓸 수 없습니다. --waitclose 는 대상을 반드시 함께 줘야 합니다. 대상을 주지 않으면 오류로 즉시 종료합니다(12).

--run 규칙

  • 실행은 종료 코드가 0 이나 1 일 때만 일어납니다. 10, 11, 20 에서는 실행되지 않습니다.
  • WaitTill 은 실행이 끝나기를 기다리지 않고 곧바로 종료합니다.
  • 실행 성공 여부는 WaitTill 의 종료 코드에 반영되지 않습니다.
  • 실행 대상 경로가 없으면 인자 오류(22)로 종료합니다.
  • WaitTill 을 되풀이 호출하면 실행 횟수도 그만큼 늘어납니다. 실행 대상은 여러 번 실행되어도 안전한 작업이어야 합니다.

종료 코드

코드의미
0발견 성공 (단순 검색 완료 / 대기 완료 / 닫힘 감지)
1준비 완료 (안정화 또는 복구 확인 성공)
10대상 미발견 또는 탐색 시간 초과
11유휴 실패 (안정화 제한 시간 초과)
12닫힘 감지 실패 (시작 시 대상 없음)
20사용자 취소 (ESC 입력)
21초기화 실패 (API / OS / 콘솔 초기화)
22인자 오류
23--waitidle 오류 (잘못된 유휴 대기 시간)
24타임아웃 오류 (잘못된 탐색 시간)
25자원 부족

WaitTill

Console-based window wait / search / activate utility.

Usage

WaitTill.exe [target] [seconds] [--waitidle sec | --waitclose sec] [options]

Command Examples

  1. WT.exe 3.5 - Simple wait for 3.5s (int/float)
  2. WT.exe "Notepad" - 30s search & activate
  3. WT.exe mspaint.exe 10 - 10s process search
  4. WT.exe "App" --waitidle - Response stability monitoring
  5. WT.exe "App" --waitclose - Wait until target closes
  6. WT.exe "App" -q - Quiet mode (no console output)
  7. WT.exe 5 --run deploy.bat - Run deploy.bat on exit code 0 or 1, then exit

Options

  • --waitidle [sec] - Precise hang detection after discovery
  • --waitclose [sec] - Wait for target to close/disappear
  • -e, --exact - Exact match for window title
  • -q, --quiet - Quiet mode (exit code only)
  • -h, --help - Show usage and exit
  • -v, --version - Print version string and exit
  • --info - Show detailed developer info
  • --lang ko|en - Manual language override
  • --langtest - Show language resource integrity report
  • --run <path> - Launch an external program on exit code 0 or 1
  • --run-args <s> - Argument string passed to the --run target
  • --run-dir <path> - Working directory for --run (default: the target file's parent)

--waitidle and --waitclose cannot be used together. --waitclose requires a target. Without one it exits immediately with an error (12).

--run rules

  • It fires only when the exit code is 0 or 1. It does not fire on 10, 11 or 20.
  • WaitTill does not wait for it to finish and exits straight away.
  • Whether the launch succeeds does not change the WaitTill exit code.
  • A missing target path exits with an argument error (22).
  • Calling WaitTill again fires it again. The target must be safe to run more than once.

Exit Codes

CodeMeaning
0Found (search complete / wait complete / close detected)
1Ready (stabilization or recovery confirmed)
10Not found, or search timeout
11Idle failed (stabilization timeout)
12Close failed (target did not exist at start)
20User cancelled (ESC)
21Initialization failed (API / OS / console init)
22Argument error
23--waitidle error (invalid idle timeout)
24Timeout error (invalid search time)
25Out of resources

다운로드Download

WaitTill_v0.174.zip 압축 비밀번호Password: techbard ← 프로그램Programs