Page 1 of 1

WinWaitClose with Chrome tabs

Posted: 23 Feb 2018, 07:01
by mzlucasmz
How can i make winwaitclose work with chrome tabs?

I've tried:

Run chrome.exe web.whatsapp.com
sleep, 2000
WinWait, WhatsApp - Google Chrome
WinWaitClose
{some code}

But it doesn't seem to work.

And how would i do it to wait for multiple tabs to be closed?

Re: WinWaitClose with Chrome tabs

Posted: 23 Feb 2018, 07:36
by stealzy
Window != tab. You can open this tab in separate window, then your code will work. Otherwise you need special tools for chrome, search "chrome" on forum.

Re: WinWaitClose with Chrome tabs

Posted: 23 Feb 2018, 08:37
by Guest
stealzy wrote:Window != tab. You can open this tab in separate window, then your code will work. Otherwise you need special tools for chrome, search "chrome" on forum.
thanks for the support, but i haven't found any "special tools" in here, can you send me a link?

Re: WinWaitClose with Chrome tabs

Posted: 23 Feb 2018, 12:37
by stealzy

Re: WinWaitClose with Chrome tabs

Posted: 26 Feb 2018, 04:52
by jeeswg
- To get the names/count(/but not urls) of Chrome tabs, you can use the functions here:
Firefox/Chrome, get tab names/focus tab - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=6&t=26947