Does anyone know whether it is possible to exit a screensaver programmatically, i.e., from within the screensaver code, but *without* exiting the System Preferences, if the screensaver was run from System Preferences?

I tried

 [NSApp terminate: self]

but that also makes System Preferences exit.

Best regards,
Gabriel.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to