Hi.
I simply want to do this:
do shell script "/System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background &"
The problem I have, is that the button clicked, stays clicked until the ScreenSaverEngine quits, which is only when I do that from the terminal. I was hoping to have a start, and a stop button, but this issue pretty much cripples the whole application.
I tried handing the work over to System Events:
tell application "System Events"
do shell script "/System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background &"
end tell
But that didn’t work either, the button still stays pressed. Any thoughts on how to stop this?