Sending clock form a track

Finn Hansen's icon

Hi.

I need to take the Live tempo, and change the tempo, and then send it out via midi.

Myscript works outside af Live, but when i use in Live.

Can anyone send me in the right direction.

All the best

Finn