Enable / Disable Events

Hi guys,

I am looking all over the forum, wiki and even internet. Nowhere to find this simple script I suppose.

I need two little scripts.

1th. Enable an event

2nd. Disable an event

This is the purpose i will use it, so it would be even more clear what my meanings are:

For instance I have an event called “Test Event” and I want to enable it on 1 januari and disable it on 31 januari.

I can make an event wich runs a script on 1 januari to enable the “Test Event”
and also I will make an event wich runs on 31 Januari to disable the “Test Event”

Perhaps someone is now thinking… why not make a script wich checks the date and enable/ disable automaticly when a specific date is present. Hereby one script will be running everyday at a certain time to check the date and enable/ disable the “Test Event”.
That is also a good sollution for me…

Hope someone can give me a little help on this…

Ruud