Thanks! I couldn't imagine, that a simple variable also needs a complete 'Tk-application' to run correct. Now, all is working fine. Thanks, Sven