This is so weird: this morning it's not working again. Clicking the button that yesterday was running a fully automated sync is today prompting me instead. I think I've now had different behavior every single day, which is bizarre.
Which prompt is it showing?
Sorry, I should have been more clear. It is correctly loading the A/B folders for the sync, though interestingly the A folder is showing on the right while the B folder is showing on the left, and then giving me the prompt for the work to be done to synchronize A -> B.
And I also find that it's grouping my panes randomly again by type and claiming it's auto-remembered when I have not done that at all since clearing all those auto-formats a day or two ago. Something is just a tad squirrely here.
While I'm at it, I should note that dragging the button to my desktop to create a *.dcf file and then double-clicking that file to run the command works only if I already have a lister open. Perhaps the "FIND" command needs a "NEW" option as "GO" has?
You can embed the command like this to open a lister:
Prefs LAYOUT=xyz
[
Find...
]
I'm sorry, but I don't understand. If I wrap the "FIND" command in that, I get the preferences dialog instead. Here's the contents of a "Sync Test.dcf" file created from a button I dragged from DO:
<?xml version="1.0"?>
<button backcol="none" display="both" textcol="none">
<label>Sync Comics</label>
<icon1>#newcommand</icon1>
<function type="normal">
<instruction>Find SYNC FROM D:\DOTest\A TO D:\DOTest\B RECURSE COMPARE=newer,size HIDEUNAFFECTED RUNINPANEL DELETE FIRST</instruction>
<instruction>Copy SYNC</instruction>
<instruction>Set CLEARSYNC</instruction>
</function>
</button>
Could you perhaps show me what you mean with respect to embedding the command to make sure it opens a lister?
You need to replace xyz
with one of your layouts. Alternatively, you could use Go NEW
.
Go NEW
[
Find SYNC FROM D:\DOTest\A TO D:\DOTest\B RECURSE COMPARE=newer,size HIDEUNAFFECTED RUNINPANEL DELETE FIRST
Copy SYNC
Set CLEARSYNC
]
That will be because the right side was source, I think.
You could add this before the Find line to make the source always on the left:
set dual=on
set source=left
// …Then Find, etc…
That "Go NEW" helped a lot, thanks!
Thanks, I've added it and will keep using it and see how it goes. So far, I've got multiple sync buttons and corresponding *.dcf files working from the desktop, but none of them run automatically today; they all prompt me. But hey, this is a metric ton closer to where I've wanted to be for years. Thanks, y'all!