Suppose I have two dir, Dir1 & Dir2, with some alike files. Dir1 have four files named File1.txt, File2.txt, File3.Txt & Files4.txt and Dir2 have three files named File1.txt, File2.txt and File3.Txt. I want to compare Dir1 and Dir2 contents by name and select files are presented just in Dir1 and copy them to Dir2 (This is because Synchronize tab on Find Panel cannot compare contents by name!). I define a new key with following codes:
On a Power Mode Dual Lister, I opened Dir1 in Left lister and Dir2 on right lister (left lister was activated). When I clicked on the key, everything worked well, but one thing. The line 7 must deselect selected file on right lister (destination), but this line deselect selected files on left lister (source)! I add "@useactivelister" and "Set State=Dest" to my code, but nothing changed. What is the problem? Is this a bug just as other bugs of DOpus or my code is wrong?
P.S: When I enter above commands line by line in CLI prompt, everything work well without any problem.