Very nice - thanks a lot!
For reference, this is now the code that I use:
MyLayer=PyOrigin.ActiveLayer()
MyLayerName=MyLayer.GetName()
MyLayerPage=MyLayer.GetPage()
MyPageName=MyLayerPage.GetName()
MyFullName="["+MyPageName+"]"+MyLayerName+"!"
MyColumn=MyLayer.GetSelectedColumns()[0]
Thanks again and best regards,
Jan