I'm running the latest MacOS X on my new MacBook Pro. What I'd like to do is have the screensaver get automatically disabled when I view videos, and then to have it re-enabled when I am finished viewing.
Under Linux, I accomplished this by wrapping the invocation dialog of my video viewer in a script which turns off the screensaver, runs the viewer, and then turns on the screensaver again when the viewer exits. Is there a way to do something similar under MacOS X? ... maybe with AppleScript?
Yes, I know that I can manually turn off the screensaver, view the video, and the turn the screensaver back on. And I also know that I can move the mouse or interact with the keyboard periodically when viewing. However, I don't want to have to do either of these things ... I'd like this to be fully automated, if possible.
Any ideas?
Thanks in advance.
Under Linux, I accomplished this by wrapping the invocation dialog of my video viewer in a script which turns off the screensaver, runs the viewer, and then turns on the screensaver again when the viewer exits. Is there a way to do something similar under MacOS X? ... maybe with AppleScript?
Yes, I know that I can manually turn off the screensaver, view the video, and the turn the screensaver back on. And I also know that I can move the mouse or interact with the keyboard periodically when viewing. However, I don't want to have to do either of these things ... I'd like this to be fully automated, if possible.
Any ideas?
Thanks in advance.