User forums > Using Code::Blocks

Using Custom Tools

(1/1)

Mr. Awesome:
In the Tools menu, I added a tool that is basically a shortcut to GIMP, and the link works fine.  However, I can not use any other tools until GIMP exits.  I would like to have multiple tools open at once, but this is not possible under the current circumstances.  Am I using the Tools option for the wrong reasons here?

Also, in a somewhat unrelated note, I made a tool that opens a Windows Explorer in the current project directory.  However, it does not work anymore (I can't remember exactly when it stopped working).  I looked at the error message and pasted the command into my own command prompt.  The Explorer opened perfectly.  So, I switched the option in the tool editor that runs the program from a command prompt and waits for a keypress to exit, and now it works fine.  Anyone know why it's doing that?

Thanks for your time.

thomas:

--- Quote ---Am I using the Tools option for the wrong reasons here?
--- End quote ---
Yes, kind of... the tool menu is not though to be a launchbar where you put things like Gimp :)

We could of course modify the toolmanager so it allows to use several tools concurrently, but I am not sure if we really want to do that.

Zlika:
Hi
In the same spirit:
I wanted to add a shorcut to XRCed, which is a XRC editor. This tool is in Python. When I lauch it from the command line, it's ok, but when I put it in the CB Tools menu, it's not working!

Zlika

Pecan:

--- Quote from: thomas on March 26, 2006, 03:00:43 pm ---the tool menu is not though to be a launchbar where you put things like Gimp :)

We could of course modify the toolmanager so it allows to use several tools concurrently, but I am not sure if we really want to do that.

--- End quote ---

The toolmanager works wonderfully for launching all kinds of concurrent processes.

Just be sure to use a command sequence that releases the shell (e.g. cmd /c  with a "start" command).

Also, untick the "Launch....and wait" box.


Zlika:
Great! It's working now when I put "cmd /c" in "Executable" and the name of the python file in "Parameters".
Thank you!

Navigation

[0] Message Index

Go to full version