I have a custom button that when left-clicked selects the files in the passive lister that also exist in the active one, and when right-clicked select those that are only present in the passive lister (i.e. Select same/Select different). Someone from this forum made it for me.
But now, after I updated DOpus, pressing that button crashes it. I would post the code for the button, but I have no clue where to find it...
Could someone guide me in finding the code so I can post it here, or maybe offer a different button I might use? Does anyone else have a button with similar functionality?
I use it very often so it's a major irritation that it stopped working...
Which one is it that's crashing for you, the left or the right? Or is it both?
Can you post a screenshot showing the two directories you're looking at before it crashes? The problem could be tied to the folder contents or view mode.
I presume we're talking about Opus 9.5 here, too; or is it an older version?
I just tried these buttons and am also experiencing intermittent crashes with both of them. Sometimes crashes on the 1st attempt, sometimes on the 2nd or 3rd. I'm using 9.5 on XP 32-bit.
The left button code causes Opus to crash for me every time but so far the right button hasn't caused a crash. With the left button code it seems if I remove dopusrt /cmd from the very last line the crashes stop and the button works as expected.
Opus seems to have captured the crash data and I just now sent it in via a bug report.
Further tests reveal that this does not cause a crash..
Select ALL
Select SOURCETODEST DESELECTNOMATCH
Select DESTTOSOURCE DESELECTNOMATCH
Select INVERT
Set SOURCE=Toggle
Select NONE
and this does..
Select ALL
Select SOURCETODEST DESELECTNOMATCH
Select DESTTOSOURCE DESELECTNOMATCH
Select INVERT
Set SOURCE=Toggle
dopusrt /cmd Select NONE
It's unfortunate that there is no way (that I know of) to either force Set SOURCE=Toggle to make subsequent commands operate on the Dest, which becomes the Source as the result of the toggle. Alternatively, it would be nice to have an "INDEST" option for the Select command, as in..
Okay, I saw this issue report and I have noticed similar behavior.
Check out this MS-DOS Batch Function toolbar button:
@externalonly
:Main
CLS
Echo.
Echo. dopusrt /cmd Select ALL
dopusrt /cmd Select ALL
Echo.
Pause[/code]
When this toolbar button is clicked, Opus will crash reliably on my PC. However, when Opus reopens, I can go to the %Temp% folder and double click on the dop0xn.bat file and it will run just fine. Here's what that file looks like when Opus writes it to %Temp%. (I'm on Vista 32-bit if it matters).
code@echo off
chcp 1252 > nul
T:
cd "\Test Folder\Source"
:Opus
:Main
CLS
Echo.
Echo. dopusrt /cmd Select ALL
"C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe" /cmd Select ALL
Echo.
Pause[/code]
It seems we stumbled upon a bug in Opus. Earlier version that I had installed (I think it was of a 9.1.1.x branch) didn't have this problem... Hopefully after this report we'll get a fix...
Thanks you everyone for testing/confirming the issue! You're great!