I use Vivaldi and the settings open all the bookmarks in a new tab. I have a "black new tab" (from my disk) that open when Vivaldi begin.
So I make a macro (CTRL-m ) in MacroExpressPro that when the only tab is the "black new tab" open a bookmark in the same tab to use it, when i click the whell button in my mouse (set to run CTRL - m).
I want AHK recognize the title "Page.htm" and when I ckick a folder of bookmarks and open the list of bookmarks , when I click with the left button run the macro CTRL + m.
With WindowSpy I discovered that the title of Vivaldi is Page.htm - Vivaldi and ahk_class Chrome_WidgetWin_1, but when the list of bookmarks appears and the cursor is on the list there is no title and the class is ahk_class Chrome_WidgetWin_2.
My code is (don't work):
Code: Select all
#IfWinActive, Page.htm - Vivaldi WinWait, ahk_class Chrome_WidgetWin_2 LButton:: Send ^m return #IfWinActive