I show you how to open one or more sites in chrome but this can be used for Firefox or any other browser you use. Next you may want to close a specific tab this will show you how to cycle your tabs looking for the tabs name you wish to close.
CODE:
SetTitleMatchMode, 2
f1::
Run, Chrome.exe https://docs.microsoft.com/en-us/visu...
Run, Chrome.exe / tadamm
Return
F2::
If WinExist("Google")
{
WinActivate, ahk_class Chrome_WidgetWin_1
Loop 10{
WinGetTitle, CurrentWindowTitle, ahk_class Chrome_WidgetWin_1
If CurrentWindowTitle contains Creating
{
Send ^w
Return
}
Else
{
Send, ^{Tab}
}
}}
Watch video AutoHotKey Chrome - Opening Multiple tabs and close them (Firefox and other browsers also) online, duration hours minute second in high quality that is uploaded to the channel TAB Nation - Automation 14 November 2020. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 3,358 times and liked it 51 visitors.