Alexandro1112
Alexandro1112
What did you mean?
Try this script: ``` import AppKit # Получаем список всех экранов screens = AppKit.NSScreen.screens() screen = screens[0] frame = screen.frame() new_frame = AppKit.NSMakeRect(frame.origin.x + 100, frame.origin.y - 50, frame.size.width, frame.size.height)...
If you can change the screen position in the system preferences, I think it's also possible to set the position automatically.
I'm thinking about the ``IOKit`` framework. I even set the screen resolution using this framework. I think we need to figure out how to change the screen position using Iokit.
I have the solution, ``setBrightness`` also doesn't work on ``macOS 13.0 Ventura``, I can propose using this code for setup screen brightness, function ``IKMonitorBrightnessController``, bellow script: ``` from Quartz import...
@arsikurin Do you know about ```PyObjC```? I have 2 realisation for adjust of brightness, for determine display and for all.
Same implementation with ```IOKit```. But someone has a macOS print error that is associated with access to the display.I prefer to use ```Quartz.IKMonitorBrightnessController``` to adjust the brightness.
I even not know why mac return error code when I use function, contain in ```IOKit```. For example ```IODisplaySetFloatParameter``` does not adjust set brightness, but return error code -536870201. I...