Pause execution of multiple command during dialogs.

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
ZoSTeR
Power Member
Power Member
Posts: 1052
Joined: 2004-07-29, 11:00 UTC

Pause execution of multiple command during dialogs.

Post 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 ;)
Last edited by ZoSTeR on 2014-04-30, 23:16 UTC, edited 5 times in total.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

You can use e.g. TCFS2 in order to pause commands until dialog is visible.
User avatar
ZoSTeR
Power Member
Power Member
Posts: 1052
Joined: 2004-07-29, 11:00 UTC

Post by *ZoSTeR »

Might be an option, but I think the budding internal scriptability of the TC should be extendend.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50873
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post 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).
Author of Total Commander
https://www.ghisler.com
Post Reply