Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic Realbasic > FullScreen App ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 3296 of 3314
Post > Topic >>

FullScreen App vs. ScreenSaver

by abcdefgh@[EMAIL PROTECTED] Jan 11, 2008 at 12:48 PM

Hello!

I created a little FullScreen app to show me the current network
speed. If I not touch the keyboard and the mouse, the ScreeSaver is
coming up after three minutes and cover the application. Yes, it's
normally, because I set the time in the System Preferences.

To prevent this, I calling a shell command int the application "Open"
method:

defaults -currentHost write com.apple.screensaver idleTime 0

It's disables the ScreenSaver. On the App's "Close" method, I simply
put this command:

defaults -currentHost write com.apple.screensaver idleTime 180

But here is a problem. If start and quit the application, the
ScreenSaver wont start up after 3 minutes of inactivity. If I move the
mouse to a corner, witch is set to start the ScreenSaver, it will run.
I typed into the terminal:

defaults -currentHost read com.apple.screensaver idleTime

The result is: 180. Everithing looks OK but something wrong. The
ScreenSaver wont start, until:
1, restart
2, open System Preferences -> Desktop & Screen Saver -> Screen Saver
and move the "Start Screen Saver" Slider to any position.

The System why not notice the second command? Can Somebody tell me,
where to search the problem? I have to restart a System (background)
application or use another workaround? Is there possible to run a
fullScreen application witch is disables the ScreenSaver like bigger
games (eg. Medal of Honor)?

System: Mac OS X 10.4.8

Thank You!




 1 Posts in Topic:
FullScreen App vs. ScreenSaver
abcdefgh@[EMAIL PROTECTED  2008-01-11 12:48:31 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu May 15 0:36:55 CDT 2008.