Tuesday, January 29, 2008

Re: [applekeynote] Autosave with KeyNote?

>Hi,
>
>May be this question has been brought up before, but I couldn't find
>anything on it in the archive: why doesn't Keynote have an autosave
>feature?
>
>I love Keynote, but it died on me several times and I lost several
>hours of work at very critical moments (like few hours before a
>presentation!)
>
>Is there a way to go around this problem with Applescript?

This seems to do what you want:

on idle
set the date_stamp to ((the current date) as string)
set the minute to the sixth word of the date_stamp
set the sec to the seventh word of the date_stamp
if ((the minute is "0") or (the minute is "15") or (the
minute is "30") or (the minute is "45")) and the sec is less than 31
then
tell application "Keynote"
activate
save the front window
end tell
end if
end idle

Remember to save it as a "Stay open" application. Otherwise it won't
do anything.

Use at your own risk!

athel


--
--
Athel Cornish-Bowden
acornish@ibsm.cnrs-mrs.fr
http://bip.cnrs-mrs.fr/bip10/homepage.htm


Keynote is only part of iWork. To learn/ask more about Pages or Numbers check out the iWork yahoo group at http://groups.yahoo.com/group/iwork/"
Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/applekeynote/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/applekeynote/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:applekeynote-digest@yahoogroups.com
mailto:applekeynote-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
applekeynote-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

No comments: