I don’t have those settings on my Mac (Monterey) so I can’t check but I wonder if you can simply query existing controls for their font information?
HTH, Keary Suska Esoteritech, Inc. "Demystifying technology for your home or business” > On Jan 11, 2024, at 8:50 AM, Alex Zavatone via Cocoa-dev > <cocoa-dev@lists.apple.com> wrote: > > I’m sure there is an easier way to do this but well, I don’t know what it is. > > In the System Settings: Accessibility: Display: Text, I set my font size to > 13. > > There is a database is located at /Library/Application > Support/com.apple.TCC/TCC.db . To query the database from the command line, > use sqlite3 or an SQL browser (I used DB Browser). > > The modification date of that file does not reflect that it was just modified > and there is no 13 in it. (I copied the file to another directory to view) > > In the file in the access table, I found entries for many of the app bundle > identifiers, but nothing for text and nothing with a 13 in it. > > Ideally I’d search the entire drive for a mod date of today and locate that > file, but I’ll leave that up to you. > > Good luck. Let us know what you find. > > Cheers, > Alex Zavatone > > > >> On Jan 11, 2024, at 10:58 AM, Alex Zavatone via Cocoa-dev >> <cocoa-dev@lists.apple.com> wrote: >> >> I had to do something like that on iOS a few years back. Let me see if I >> have a solution for MacOS. >> >> Cheers, >> Alex Zavatone >> >>> On Jan 10, 2024, at 10:48 AM, Tom Doan via Cocoa-dev >>> <cocoa-dev@lists.apple.com> wrote: >>> >>> I'm trying to figure out how to query the value for the >>> Accessibility---Display---Text Size for MacOS (Objective-C). I can't >>> for the life of me find any documentation on it, and anything that >>> looks even close appears to be for iOS and Swift. Can anyone point >>> me in the right direction? >>> >>> Best regards, >>> >>> Tom Doan >>> --- >>> Estima >>> 2717 Harrison St >>> Evanston, IL 60201 >>> USA >>> >>> >>> _______________________________________________ >>> >>> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >>> >>> Please do not post admin requests or moderator comments to the list. >>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com >>> >>> Help/Unsubscribe/Update your Subscription: >>> https://lists.apple.com/mailman/options/cocoa-dev/zav%40mac.com >>> >>> This email sent to z...@mac.com >> >> _______________________________________________ >> >> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >> >> Please do not post admin requests or moderator comments to the list. >> Contact the moderators at cocoa-dev-admins(at)lists.apple.com >> >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/cocoa-dev/zav%40mac.com >> >> This email sent to z...@mac.com > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/cocoa-dev%40esoteritech.com > > This email sent to cocoa-...@esoteritech.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com