This app has annoying popups which I want to dismiss. 𝗛𝗼𝘄𝗲𝘃𝗲𝗿, 𝘁𝗵𝗲 𝗽𝗼𝗽𝘂𝗽 𝗵𝗮𝘀 𝘁𝗵𝗲 𝗲𝘅𝗮𝗰𝘁 𝘀𝗮𝗺𝗲 𝘁𝗶𝘁𝗹𝗲/𝗰𝗹𝗮𝘀𝘀/𝗲𝘅𝗲/𝗽𝗶𝗱.
The only difference is in the "Visible Text" when using WinSpy. How do I auto-dismiss it whether in the fore or background?
auto-dismiss window with certain visible text?
Re: auto-dismiss window with certain visible text?
Hallo,
If they have different IDs, you can distinguish them by that. Try:
If they have different IDs, you can distinguish them by that. Try:
Code: Select all
#Persistent
SetTimer, T, 100
T:
MouseGetPos,,, ID
ToolTip,% "window's unique ID:`n" ID
Return
Re: auto-dismiss window with certain visible text?
Last edited by rhtrjgjs on 19 Nov 2021, 08:35, edited 1 time in total.
Re: auto-dismiss window with certain visible text?
To get a window's text, use WinGetText. To get the window's size, use WinGetPos. You can then issue commands based on those findings.
Who is online
Users browsing this forum: Bing [Bot], just me and 132 guests