Author Topic: Code::Blocks on MacOSX. How can I have only one Terminal open?  (Read 2890 times)

Offline Blocks4moi

  • Single posting newcomer
  • *
  • Posts: 4
Code::Blocks on MacOSX. How can I have only one Terminal open?
« on: December 13, 2009, 09:07:18 am »
 Anyone know how to make everything run on the same Terminal? CB opens a new terminal every time I run a program. I would like to be able to change this setting. I'm using Leopard OS on a MacBook.

Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Re: Code::Blocks on MacOSX. How can I have only one Terminal open?
« Reply #1 on: December 14, 2009, 05:17:58 pm »
You need to improve the default AppleScript that opens the Terminal:


tell app "Terminal"
    activate
    do script "$SCRIPT"
end tell


It's available in the settings, under Settings > Environment > General