Page 1 of 1

Pause execution of multiple command during dialogs.

Posted: 2014-04-30, 18:03 UTC
by ZoSTeR
The execution of multiple commands should be paused or be "pausable" during dialogs e.g.

cm_CopyNamesToClip,cm_CopyOtherpanel,<PAUSE>,cm_Exchange,cm_LoadSelectionFromClip,cm_Exchange


*Edit: Made the example more plausible but it wouldn't work anyway ;)

Posted: 2014-04-30, 21:25 UTC
by MVV
You can use e.g. TCFS2 in order to pause commands until dialog is visible.

Posted: 2014-04-30, 22:08 UTC
by ZoSTeR
Might be an option, but I think the budding internal scriptability of the TC should be extendend.

Posted: 2014-05-01, 09:10 UTC
by ghisler(Author)
Unfortunately it's not that easy: For example, if you define "paused" until the main window is no longer blocked by a dialog box, then the user could still click on "Background" and break it.

Currently TC pauses until a command has been finished in the foreground. Many commands use threading, though, to support multiple commands at the same time (e.g. copy in background).