From ffb7d91c06db6bac915535312906dfc6a2fe74fe Mon Sep 17 00:00:00 2001 From: Rainer Kottenhoff Date: Wed, 24 Jan 2018 20:20:14 +0100 Subject: [PATCH] + AHK Tests: new aboutbox selection mechanism --- test/TestAhkNotepad3.ahk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/TestAhkNotepad3.ahk b/test/TestAhkNotepad3.ahk index 807978292..637671bff 100644 --- a/test/TestAhkNotepad3.ahk +++ b/test/TestAhkNotepad3.ahk @@ -84,7 +84,9 @@ Return CHECK_ABOUT_BOX: ; check About DlgBox WinActivate, ahk_pid %v_Notepad3_PID% -Send {F1} +; This will select File->Open in Notepad: +WinMenuSelectItem, ahk_pid %v_Notepad3_PID%, , ?, About... + WinWait, About %v_NP3Name%, , 1 v_ErrLevel = %ErrorLevel% if (v_ErrLevel != 0)