OSDisplay
OSDisplay copied to clipboard
Multiple calls
Currently the images show synchronously (the first task has to end before the next can begin). I believe the an option to have it such that the latest image overrides previous images (similar to how the volume or brightness bar doesn't show a completely new image) would be better.
I am looking into how to implement this functionality however would appreciate if anyone has an idea where to start as. I believe a listener would be needed to get new calls in realtime.
I'd be keen for this, too! I'm using ddcctl
and OSDisplay.app, but making repeated adjustments quickly after one another OSDisplay simply doesn't show — it takes 2s per run, whereas i'm updating the brightness in small increments with a few hundred ms interval...
Looks good otherwise 👍
+1 agreed ...
Maybe I am wrong but I think you can make multiple calls quickly. If you use AppleScript to launch OSDisplay make sure that your script does not wait for a result or error by sending results and error messages to /dev/null.
E.g.:
do shell script "/Applications/OSDisplay.app/Contents/MacOS/OSDisplay -l 100 -i 'monitor' -d '1' >/dev/null 2>&1 &"
I got this from: https://macscripter.net/viewtopic.php?id=9330
But what OSDisplay could do is react to inputs when the Overlay is fading out.
Currently the App will always quit after having faded out. And inputs received during the fading animation are not properly handled.