[Updated for QLab 4.1 13 JUL 2017]
This example workspace renders a real time clock, that can either use the system time, to show the actual time, or you can enter a start time and it will run from there.
How It Works:
The Script reads the system time and calculates the angular rotation required to set the hands to the correct time. The geometry the applescript video cue hooks use, (quarternion), is really brain damaging, so its much easier to put the calculated angles into z rotations of some fade cues (called H, M, and S) and move the hands from their original to the required positions, by firing these fades.
In Cue 2 the hands are set to the time in the script rather than the system time.
The graphic elements of the hour and minute hands are pictures of the hands on a transparent background. The stepping second hand is a 1 minute looping 1 fps video with alpha that is also rotated to give the correct start time. The Hour and minute hands then rotate for 10 hours using fade cues, the hour hand rotating 300 degrees and the minute hand 3600 degrees. A looping audio cue provides the tick.
You can download the workspace here
You can customise the appearance of the clock by editing the individual graphic elements in the video folder, in Photoshop or another graphics editor. In the first instance it might be better to retain the size of the original elements. Make sure you retain the transparency when saving your new elements.
Original Photo and graphics for watch elements: Bell and Ross from Wiki Commons This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license. Modified by Mic Pool and offered under the same license conditions.