Hi
I'm building some scripts to automatically create and manage snap areas (I have a lot of them).
It's working fine for the built-in screen (and also for sidecar iPads), but I have a problem with an external display.
(I assume that) BTT uses the display serial number to uniquely identify the screen. All tools I use in python, Swift, ioreg etc reports one serial number. But if I have BTT create a snap area on that display and export the preset, there's another serial number there.
So where does BTT get that serial from?
ioreg:
"Metadata" = {
"ProductID"=30605,
"BranchDeviceID"="pHDMIg",
"Year of Manufacture"=2025,
"SerialNumber"=811029297,
"ProductName"="Odyssey G91SD",
"Week of Manufacture"=17,
"BranchDeviceOUI"=<0010fa>,
"DFP Type"=3,
"DFP Type Description"="HDMI",
"ManufacturerName"="SAM"
}
BTT:
"BTTDisplayID" : 3,
"BTTDisplayModel" : 30605,
"BTTDisplayResolution" : "{5120, 1440}",
"BTTDisplayScreenFrame" : "{{-668, 2234}, {5120, 1440}}",
"BTTDisplayScreenSize" : "{1193.1008995126147, 338.66666158040368}",
"BTTDisplaySerialNumber" : "809845575",
"BTTDisplayVendorID" : 19501,
If I try importing a preset using serial 811029297 it won't work, so I need to figure out how to get 809845575.
Regards
/P