IfWinActive when the name of the app build change every week?

Ask gaming related questions (AHK v1.1 and older)
pelos
Posts: 11
Joined: 25 Sep 2020, 13:36

IfWinActive when the name of the app build change every week?

14 Feb 2024, 13:50

i am trying to make a script for the game throne and liberty,
but the name of the windows is

Code: Select all

lt 2.34.5....
just lt and then the build but that will change every week =(

i have in the first line of my script

Code: Select all

IfWinActive, TL
but not sure how i can make sure that when the build number change will still work =(

(when i did this script for gw2 was easy, just GUILD WARS 2 as the name of the app since it never changed)

any tips? thanks guys.
Last edited by gregster on 14 Feb 2024, 13:54, edited 1 time in total.
Reason: Moved topic from AHK v2 help since the post shows v1 code. Also deleted two topic duplicates.
RussF
Posts: 1303
Joined: 05 Aug 2021, 06:36

Re: IfWinActive when the name of the app build change every week?

14 Feb 2024, 15:21

From SetTitleMatchMode:
Default behavior. A window's title must start with the specified WinTitle to be a match.
As long as the window title always starts with TL, you should be fine.

Russ

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 33 guests