Suppressing the progress dialog for the SC sync command
Posted: 15 Oct 2018 18:21
Hi Don, there doesn't appear to be any way to suppress the progress dialog associated the SC sync command. The question of running sync fully in the background has come up here viewtopic.php?f=7&t=19333 I can run a sync in a second instance of XYplorer with a script like this:However the progress dialog comes up regardless of the options taken for the run or sync commands - (i.e., even when the new instance of XY is hidden). Instance 1 of XYplorer, if clicked on, will go on top of that sync progress dialog, but it would be better to not have the dialog at all for a true background operation.
Once the user has established the folders and options desired, we could build scripts to run syncing operations completely in the background (i.e., in a second instance of XYplorer). Syncing folders in a second instance works fine as it stands now, but not having the progress box come up would be ideal or another possibility would be to have the progress box only pop up when the syncing is complete. Note switch 'k' keeps the progress dialog open after the operation. A new switch possibility could be to only have the box come up only after completion of the operation or not at all. Thanks.
Code: Select all
run "<xy> /new /win=tray /script=""::sync 'D:\original_folder', 'G:\sync_folder', 1, 0, 1;if(get('instance')=='2'){exit 'n';}""", , 2, 0;
status "Sync operation completed successfully";
Once the user has established the folders and options desired, we could build scripts to run syncing operations completely in the background (i.e., in a second instance of XYplorer). Syncing folders in a second instance works fine as it stands now, but not having the progress box come up would be ideal or another possibility would be to have the progress box only pop up when the syncing is complete. Note switch 'k' keeps the progress dialog open after the operation. A new switch possibility could be to only have the box come up only after completion of the operation or not at all. Thanks.