PaperCutSoftware / teleportme

Connect people through a portal - Transport your inter-offices, meeting room, or common area communication across large distances with an automated FaceTime video portal.
http://papercutsoftware.github.io/teleportme/
MIT License
49 stars 8 forks source link

See if we can remove the Apple Menu Bar #2

Closed codedance closed 3 years ago

codedance commented 10 years ago

The Apple menu bar displays all the time after the portal opens stealing a bit of screen real-estate. I think this happens because the default mouse position after system boot is the top right-hand corner. Adding a "mouse move" command after starting full screen mode (moving it to say the bottom of the screen) should address this

squashedbeetle commented 10 years ago

Played around with applescript for this but it seemed inconsistent. Locally I've been playing with:

Changed the start_receiver section to:

                make_fullscreen
        "${SCRIPT_DIR_NAME}/cliclick \"m:-200,200\""

Makes use of a tiny binary from http://www.bluem.net/en/mac/cliclick/ - to move the mouse slightly off the title bar to let it auto-hide when in full screen facetime mode. Seems to work great so far in testing.

codedance commented 10 years ago

Good solution, but I think we should avoid the external dependency if possible. Surely it's possible to do this in OSA script? Did you find anything?

If we must use an external dependency, then best to wrap in a test so it will not error it cliclick is not there. e.g.

if test -x "${SCRIPT_DIR_NAME}/cliclick"; then
    ${SCRIPT_DIR_NAME}/cliclick "m:-200,200"
fi
codedance commented 9 years ago

The code change has been committed to master. Documentation pending.

squashedbeetle commented 9 years ago

Updated the documentation in #11 with links to download cliclick, and info on how to 'install' it...

alecthegeek commented 3 years ago

Closing