0

When video socket (Google Chrome) exits full screen mode, I need to:

  • Send, {F4} ; to stop video recording on bandicam

  • It needs to track/looking 1st. monitor (Looking sites title perhaps)

Does anyone know how to do this with Autohotkey?

Tips... Active window size changes when video socket exits full screen.

Monitoring can be possible at looking tittle tag from Chrome

0

1 Answer 1

2

try:

#SingleInstance, force
SetTitleMatchMode, 2


loop
{
    If Winexist(" - Super User")
    {
        WinGet, styles, Style
        if(styles & 0xC40000)
        {
            if isfull
            {
                send {F4}
                isfull=0
            }

        }
        else
        {
            isfull=1
        }

    }
sleep 500
}

This version should work on every Monitor and only in a Tab that ends with " - Super User"

15
  • I edited the code, hopefully that works, also the "- Super User" can be any part of the Tab title
    – ShulkerHD
    Nov 8, 2016 at 20:32
  • Normally it should work on all Monitors, or do you have Monitors with different size?
    – ShulkerHD
    Nov 8, 2016 at 20:39
  • The newer version should definatly work because it doesnt need the window size
    – ShulkerHD
    Nov 9, 2016 at 15:25
  • @user7079855 do you mean the Tab automatically stopps fullscreen? or what exactly do you mean by not active
    – ShulkerHD
    Nov 12, 2016 at 17:55
  • you can try WinExists(...) instead of WinActive(...) if thats what you are looking for
    – ShulkerHD
    Nov 12, 2016 at 21:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .