Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Setting screen saver dim time

Setting screen saver dim time
Thread Tools
Grizzled Veteran
Join Date: Sep 2000
Location: Springfield, MA
Status: Offline
Reply With Quote
Aug 14, 2002, 05:51 PM
 
I would like to be able to disable and re-enable the screen saver from within my program. I figure that if I can change the idleTime preference than I can set it to 0 to disable the screen saver.

I did an object dump of ScreenSaver.pref, and found the function SSDEngineDimTime that I am guessing does what I want. The trouble is I have no idea how to use it. It's not a public function and I've never tried using an undocumented function before. I did try a few things but was unable to get the compiler to understand it.

Does anyone have any suggestions on how to go about finding out the parameters for this function and how I can get the compiler to understand it? Thanks.
We hope your rules and wisdom choke you / Now we are one in everlasting peace
-- Radiohead, Exit Music (for a film)
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:10 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2