Jump to content

Recommended Posts

Hey guys,

 

I created a .tcl-script which opens a window where I can put in a reference temperature. After the value is entered, I would like the window to be closed automatically and hence to exit the program.

I can't find any commands (like an exit-command) that work the way I want them to. Can you help me out on this topic?

 

Kind regards,

Simon

 

Attached you can find the script: convert.tcl

Share this post


Link to post
Share on other sites

Hey guys,

thank you both for your quick replies.

 

There's still a problem left. After entering the value for the first time and closing the window, I open the same window again by clicking on my button. The value I entered the first time seems to be stored somehow, because it's still appearing on the screen.

Do you know how I can delete the value and clear the window?

 

Kind regards,

Simon

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...