Current time display in Keynote vie Applescript
<pre><code>    tell application "Keynote"
        repeat
            delay 2 -- seconds.  This script does not need to run faster
            set the_time to current date
            set the_time to time string of (current date) -- get now()
            set the_time to every word of the_time -- slice
            set the_time to item 1 of the_time &amp; ":" &amp; item 2 of the_time -- extract fields
            set body of the first slide to the_time as string
        end repeat
    end tell
end tell
</code></pre>

<p>I would like to show the current time on slide 1 (in this case) in Keynote. I figured out that it should work with applescript as this future ist not supported in Keynote.</p>

<p>"Applescript says that „Keynote“ sends an error: body of slide 1 can not be converted in type specifier.
So there's a problem with "<code>set body of the first slide to the_time as string</code>", but I don't see which.</p>