Coder Social home page Coder Social logo

Comments (6)

tryptech avatar tryptech commented on May 30, 2024

I do not know of a library at the moment that lets me do that across platforms.

Right now, if I want to get window information, my options are relatively limited. For reference, if I try to get the window information in Windows, PyWinCtl can only get me the .exe, and the window titles under that .exe; on the other hand OBS window sources can only get me the window title and the .exe. I don't have a very verbose way of doing it aside from trying write something from scratch.

If possible, I would suggest checking if your browsesr has an option to disable changing the title info.

from obs-zoom-and-follow.

tryptech avatar tryptech commented on May 30, 2024

I was reading through the source for PyWinCtl, and found the handle function and I'm trying it out now, I think I should be able to fallback on the Handle if the name changes

from obs-zoom-and-follow.

leifbeaton avatar leifbeaton commented on May 30, 2024

Good work! Let me know if you need me to test if/when completed.

from obs-zoom-and-follow.

tryptech avatar tryptech commented on May 30, 2024

@leifbeaton I have updated under the Corner-Zoom-Hotfix branch that should deal with the window title changing at least under the current running OBS instance. As long as you don't close OBS, I should track the window by handle by default since it's more reliable than title for Windows and Linux.

OBS does not track based on anything other window title so if you close OBS, change the title of the window and reopen OBS, it will fail and require you to reselect the source for the window capture. I will have to look into maybe getting OBS to update the source, but I'm not sure if doing it automatically would be a good idea if I potentially mess someone's layout up.

Please give it a try and get back to me if it works or not.

from obs-zoom-and-follow.

leifbeaton avatar leifbeaton commented on May 30, 2024

from obs-zoom-and-follow.

tryptech avatar tryptech commented on May 30, 2024

I'm assuming no news is good news. Please message if you have any issues and I'll reopen the ticket.

from obs-zoom-and-follow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.