Hi!
Is it possible for a script to know whether a youtube video (or maybe any video) is currently running on the computer? I would like to perform some tasks when the computer is idle, but I don't want AHK to interrupt when I am watching a video (in that case, mouse and keyboard may be idle for an extended period of time, so only checking A_timeidle is not enough).
check if utube video is playing
Re: check if utube video is playing
Very challenging. Not built-in
- CoffeeChaton
- Posts: 44
- Joined: 11 May 2024, 10:50
Re: check if utube video is playing
A less elegant but straightforward solution
search img to find youtube icon and trumpet pattern of chrome.
search img to find youtube icon and trumpet pattern of chrome.
Re: check if utube video is playing
....
Last edited by braunbaer on 26 May 2024, 06:10, edited 1 time in total.
Re: check if utube video is playing
Thank you for this suggestion.CoffeeChaton wrote: ↑25 May 2024, 21:33A less elegant but straightforward solution
search img to find youtube icon and trumpet pattern of chrome.
It won't work exactly this way, because often I leave the computer after pausing a video that remains on the screen, but i can capture a part of the screen where videos normally play and check a second later if the screen has changed.
If nobody comes up with a better solution, I will try it this way.
Who is online
Users browsing this forum: No registered users and 109 guests