detect Chrome in full screen mode playing video Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
milkygirl90
Posts: 565
Joined: 10 Nov 2020, 21:22

detect Chrome in full screen mode playing video

Post by milkygirl90 » 27 Jul 2021, 19:43

I want to set up a ifwinactive condition based on this. There's no unique identifier in the class/exe/title. Any other way to do this?

AHKStudent
Posts: 1472
Joined: 05 May 2018, 12:23

Re: detect Chrome in full screen mode playing video  Topic is solved

Post by AHKStudent » 27 Jul 2021, 20:53

The ACC name of the window adds the words "audio playing" if its playing. Not the win title, the ACC name.

I don't know how to detect if the video is in full screen mode.

braunbaer
Posts: 478
Joined: 22 Feb 2016, 10:49

Re: detect Chrome in full screen mode playing video

Post by braunbaer » 27 Jul 2021, 21:11

First check if Google Chrome is running.
To detect if google Chrome runs in full screen mode, you can use imagesearch to check if the upper right corner of the chrome window looks like the upper right corner of normal (non full screen) chrome window.

User avatar
milkygirl90
Posts: 565
Joined: 10 Nov 2020, 21:22

Re: detect Chrome in full screen mode playing video

Post by milkygirl90 » 27 Jul 2021, 21:24

braunbaer wrote:
27 Jul 2021, 21:11
First check if Google Chrome is running.
To detect if google Chrome runs in full screen mode, you can use imagesearch to check if the upper right corner of the chrome window looks like the upper right corner of normal (non full screen) chrome window.
I prefer not to use imagesearch if possible as it's less reliable/efficient..


Post Reply

Return to “Ask for Help (v1)”