Executing command and close toolbar simultaneously

I like to create a toolbar with misc commands/buttons. The toolbar should be closed after executing/pressing a button (like a menu).

Using "Toolbar NAME=... CLOSE" only works after the "main" process has been executed (quited). Example:

Toolbar NAME=Test CLOSE Image CONVERT HERE REPLACE

Just reverse your commands.

Image CONVERT HERE REPLACE
Toolbar NAME=Test CLOSE

Nope, I tried that before. But know my example runs fine, also with other external commands :blush: Don't know why, I'll try all other commands.

For efficiency reasons, toolbar commands that open/close toolbars are all queued until the function is complete, and then performed all at once in a batch.

You could get around this by using dopusrt /cmd to send the Image convert function asynchronously, eg:

dopusrt /cmd Image CONVERT HERE REPLACE Toolbar NAME=Test CLOSE

Yep, that was it. Thanks for the additional info, Jon.