Thanks a lot for your response, but this is not quite what i'm looking for.
This code returns the latest temporary timecode view that was opened (like when you do 'edit timecode 1').
It is not linked to the selected timecode pool item, it is linked to the last opened temp. timecode window.
Or do you have another approach to get it working correctly? 😁