#! /usr/bin/env python
# -*- coding: latin1 -*-
# test-python - remote control sanduhr via the python-orbit bindings

import CORBA, SandUhr
import bonobo

bonobo.activate ()

factory = bonobo.get_object("OAFIID:sanduhr:c31c770f-1043-43b1-a843-660eba410128")

timer = factory.CreateTimer ("16:00", "Hund fttern damit er nicht jault")
print  timer.Message
print  timer.TimeSpec

print "Test exceptions:"
timer.TimeSpec="Hpf"
