>> Does anyone know how to programmatically disable macOS from launching the >> screen saver on macOS? >> I would like to do that in one of my apps. > > Not sure in general, but in a managed host situation this type of system > modification could be disallowed by policy. Even admin users of a managed > system can be barred from changing settings like these as they can affect > security, eg when passwords must be prompted. You wouldn’t want any person > to be able to walk by and quit your app and have access to the user’s files.
Yes, agreed. That is why I would like to disable ONLY the screensaver, NOT System Preferences / Security / Require password ... Ideally, my app could bring up the password prompt itself before quitting. Is that possible? Best regards, Gabriel
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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