Code: Select all
WinGetClass, class, A
If winclass("Chrome_WidgetWin_1")
!q:: run https://www.youtube.com/feed/history
!w:: run https://www.youtube.com/playlist?list=WL
return
1st : it seems that it works only for only the 1st chrome window
becasue I use 'If winclass("Chrome_WidgetWin_1")'.
I hope that it would be run at the other chrome windows.
2nd : It shows an error like the attached image.
How can i fix the issue?
Thanks for any help in advance.