Continue Discussion 12 replies
November 2017

dcatt

Definitely opens up the possibility of test automation against Haiku apps!

November 2017

HaikuDev_Wannabe

Thanks for this tutorial!

Like so many things in Haiku, I knew about it a little bit, but haven’t used it for a while, so it was a good reminder as well as teaching some finer points that I didn’t know. And it was a fun diversion to follow along with the examples!

October 2018

KapiX Developer

How would I go about changing screen brightness in Screen preferences?

hey Screen 'brig' 'be:value'='int32(255)' didn’t work.

3 replies
October 2018 ▶ KapiX

extrowerk

I am also interested.

October 2018

humdinger Developer

No idea (I don’t even have that slider in my Screen prefs, using VESA).
I’m not even sure hey’s syntax allows including e.g. a ‘be:value’ field in the BMessage you send. That would be a nice addition…

It would be nice to add scripting support to the Screen prefs (all prefs really), so you get all the valid commands with a hey Screen getsuites. Then setting would be easy as something like hey Screen set Brightness to 100.

Didn’t @owenca add scripting commands to MediaPlayer last GCI? Maybe as mentor this year, he’d like to supervise such tasks… :slight_smile:

1 reply