ScreenAreaShare allows sharing selected area of the screen in applications that do not natively support this feature such as Teams.
ScreenAreaShare creates 2 windows. The capture window is a click-through, transparent window indicating the recording area via a red border. The rendering window displays the content of that area. In applications such as Teams, you can then share the rendering window.
You can download the executable for windows from the Releases page.
- Clone or download the source code.
- Run
npm install
- Either run directly or build an executable.
- Source: run
npm start
. - Build executable: run
npm run make
.
Execute the built .exe file in theout/
folder.
- Source: run
- Two windows should open: One border-window and one rendering window. These two windows can be moved via a drag-drop. The red borders can be resized.
- With both windows open, start the sharing function of the application of your choice (e.g. Teams) by selecting the option to share a window. Select this application.
If you run from source: npm start -- -- --cx=0 --cy=0 ...
(note the additional --
required by electron-forge)
If you run a prebuilt executable: path/to/screen-area-share.exe --cx=0 --cy=0 ...
Parameter | Description |
---|---|
--freeze |
Hide capturing window |
--consider-scale |
Considers scale settings of the screen |
--maxfps=<fps> |
Set maximum frames per second during capture |
--cx=<x> , --cy=<y> |
Initial top left coordinate of the capturing window |
--cw=<w> , --ch=<h> |
Initial width and height of the capturing window |
--rx=<x> , --ry=<y> |
Initial top left coordinate of the rendering window |