mPyKen / ScreenAreaShare

Share selected area of the screen in applications that do not support this, e.g. Teams.
MIT License
151 stars 19 forks source link

FancyZones #1

Open abdelhalim opened 2 years ago

abdelhalim commented 2 years ago

Is this expected to work with FancyZones ? when I try to drag the capture area with Shift pressed, I don't see FancyZones highlighting the zone area.

mPyKen commented 2 years ago

Up until now, I haven't tried out FancyZones - it seems that FancyZones requires the capture window to have these properties:

The latter one would kind of break ScreenAreaShare as you would have a semi-transparent overlay all the time. The only way I see for now is to either use a different software than FancyZones or have the team behind FancyZones support transparent windows...

abdelhalim commented 2 years ago

Does FancyZones require the whole window to be non-transparent ? Or if there is a label or a button that is not transparent that will work? I've been also looking at this tool https://github.com/michiproep/ScreenshareHelper and they mention FancyZones works

mPyKen commented 2 years ago

Interesting, thanks for the reference. Let me have a look the other day.

Pitta commented 2 years ago

This working in concert with FancyZones would solve all my problems!

joeskeen commented 1 year ago

FWIW, I am using this with FancyZones. This is what I do:

I first decided that when I'm using ScreenAreaShare I will do so at 720p. This is a reasonable resolution that should allow people viewing my screen to see it pretty well, even on mobile devices.

I then decided that I wanted to share the top-right corner of my 49" display, with the rendering window directly below it.

Since my screen resolution is 5120x1440, I calculated that the capture window should be at (3840,0) and the rendering window at (3840,720).

Next, with the ScreenAreaShare application pinned to the taskbar, I right-click and open Properties. I modify the Target property to add my custom positioning:

[DIRECTORY]\screen-area-share.exe --cw=1280 --ch=720 --cx=3840 --cy=0 --rx=3840 --ry=720

After saving, I try it out and verify that it is indeed starting in the desired screen coordinates.

Next, I launch FancyZones and configure my zones. Specifically, I create two zones on the right side of my display that match the areas that I set up ScreenAreaShare to appear in. That way I can drop windows in the "sharing zone" when I'm on meetings.

I know this doesn't do exactly what the OP wanted, but I don't care that much about dynamically changing the sharing zone at runtime, so I just have a nice static place for sharing set up.

Thanks to everyone who has contributed to this project, it's a life saver!

mPyKen commented 1 year ago

Glad you like it:) Thanks for sharing your setup! Great to hear it works with fancy zones at least with some workaround