WinActive - combining executable name and partial window title? Topic is solved

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
redrum
Posts: 83
Joined: 25 Jan 2015, 22:57

WinActive - combining executable name and partial window title?

Post by redrum » 15 Apr 2024, 07:00

With `SetTitleMatchMode 2`

For a particular window:
this matches:

Code: Select all

if WinActive("ahk_exe brave.exe")
this matches:

Code: Select all

if WinActive("-TV")
but this does not match:

Code: Select all

if WinActive("ahk_exe brave.exe", "-TV")
How to properly combine an executable name and partial window title match in WinActive?

User avatar
Seven0528
Posts: 347
Joined: 23 Jan 2023, 04:52
Location: South Korea
Contact:

Re: WinActive - combining executable name and partial window title?  Topic is solved

Post by Seven0528 » 15 Apr 2024, 07:11

WinActive("-TV ahk_exe brave.exe") - Multiple Criteria
  • English is not my native language. Please forgive any awkward expressions.
  • 영어는 제 모국어가 아닙니다. 어색한 표현이 있어도 양해해 주세요.

Post Reply

Return to “Ask for Help (v2)”