Hi,
I'm using GroupAdd and GroupActivate to switch between windows matching an ahk_exe criterion.
I would like to exclude windows from this group if they have a modal window opened and only include the modal window or the frontmost window.
Thank you
Ignore window if it has opened a modal window when using WinTitle
Re: Ignore window if it has opened a modal window when using WinTitle
Hello,
Perhaps the command's "R" mode will work for you.
Perhaps the command's "R" mode will work for you.
Re: Ignore window if it has opened a modal window when using WinTitle
I'm already using it but it is not enough
Re: Ignore window if it has opened a modal window when using WinTitle
If you have a script that does not work, I recommend posting your script so that forum readers can examine and test it. This is preferably a script that demonstrates the problem when it is run. Posting your script may enable more specific feedback. Include a detailed description of what the script currently does, and what it should do instead. An example also helps.
Re: Ignore window if it has opened a modal window when using WinTitle
Problem solved, thank you mike
Code: Select all
mylist := WinGetList("ahk_exe my.exe")
GroupAdd("dev", "ahk_id " . mylist[1])
Who is online
Users browsing this forum: DavidP, mikeyww, TomDonovan, vanove and 98 guests