I had a script that I used to use to activate my screen saver, and it no longer works in Mountain Lion.
It was a shell script that called an AppleScript script:
#!/bin/bash osascript /Users/lorin/scripts/lockscreen.scpt
This is what the
lockscreen.scpt file looks like:
tell application "ScreenSaverEngine" activate end tell
If I bring up
lockscreen.scpt in the AppleScript Editor, I get the "Choose Application" dialog popping up asking "Where is ScreenSaverEngine?"
Anybody know the Mountain Lion-y way to activate the screen saver?