Post

Replies

Boosts

Views

Activity

Printing programmatically in black & white?
Hi, In Windows and Linux, it's possible to ask a printer to print content programmatically in Black & White. This may be referred to as "Monochrome", "Grayscale", "B&W", depending on the device driver. For feature parity with other operating systems, I'd like to do the same -- programmatically -- in macOS using Objective-C or Swift. Is this possible? If not, what's the best, formal way to request this useful OS feature to Apple so that it may be added in a future release? More context about this request: https://github.com/openjdk/jdk/pull/18195
0
0
595
Apr ’24
"Installer" would like to access files in your Downloads folder
Hi, I have a signed and notarized .pkg file. When I distribute this to my users, they're prompted if "Installer" can access files in the Downloads folder. Most of them click "OK", so that this installer can succeed, however those that click "Don't allow" can never install the .pkg file again. I've checked the following to no obvious resolution: Quarantine flags (no obvious flags were found) System Preferences, Security, Files and Folders (Installer.app is not listed) spctl --list (The .pkg shows there, but nothing obvious about it being blocked) A workaround is to copy this .pkg file to the Desktop folder. When run, the same prompt will appear again, except for the "Desktop" folder. If you click "OK", it succeeds. Since this behavior prevents the .pkg from running from Downloads ever again, how can this be reverted/fixed?
4
0
2.8k
Jun ’23
Big Sur: Detect Dark Tray/Menubar
Hi, since macOS dark mode was originally offered, I've been using the following technique to detect the Dark/Light Desktop theme: defaults read -g AppleInterfaceStyle Recently with the upgrade to Big Sur, the menu bar and system tray area goes light/dark based on the wallpaper, NOT based on the Desktop preference. How do I detect this so that I can change my app's System Tray icon to match the os behavior?
10
0
4.5k
Jul ’20
Testing upcoming Safari cert validity changes
Per https://support.apple.com/en-us/HT211025Quoting:"In our ongoing efforts to improve web security for our users, Apple is reducing the maximum allowed lifetimes of TLS server certificates [to 398 days]" [...]"This change will not affect certificates issued from user-added or administrator-added Root CAs."Questions:What defines "user-added or administrator-added Root CAs"?How do we get our hands on a version of Safari now to test/prepare for this change? What version(s) of Safari honors this change?Note, I've asked a similar question on StackExchange: https://apple.stackexchange.com/questions/384033
17
0
4k
Mar ’20