Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: A script to use the Dashboard as a screensaver' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: A script to use the Dashboard as a screensaver
Authored by: WarmBadger on Mar 03, '06 08:12:55AM

This is very close to something i've been looking for. Is there a way to modify the script to load up apples frontrow rather than the dashboards? I tried 'tell application "frontrow" to launch' but that didn't work. It returned the error 26:27: syntax error: No user interaction allowed. (-1713).



[ Reply to This | # ]
10.4: A script to use the Dashboard as a screensaver
Authored by: adrianm on Mar 03, '06 08:44:28AM
I don't have FrontRow, but perhaps the more basic cmd:

open -a frontrow
?

It's a normal command, not an applescript. put it in place of osascript.

[ Reply to This | # ]

10.4: A script to use the Dashboard as a screensaver
Authored by: davidacox on Mar 03, '06 10:15:14AM

I whacked together a little applescript to launch Front Row on a system (it was part of an app called "Front Row Remote"). The code that I used for the activating of Front Row was:

---------
tell application "Front Row"
activate
end tell

tell application "System Events"
key code 53
end tell
---------

You may need to turn on "Enable access for assistive devices" in your Universal Access control panel to allow System Events to send that key stroke (I can't test from where I am).

Good luck.



[ Reply to This | # ]
Now works with front row
Authored by: WarmBadger on Mar 03, '06 11:41:42PM

Thanks for your suggestions guys, i was able to get it to work with one simple change!

then let IDLECOMP=0; osascript -e 'tell application "Front Row" to activate' -e 'tell application "System Events" to key code 53'

cheers



[ Reply to This | # ]