Greetings, I am new to Dopus but have done quite a lot of coding over the years.
I am trying to create a few simple buttons and managing Ok but I have hit a stumbling block with a very simple button.
I have an application called Beyond Compare that is used for detailed analysis of file and folder differences (amongst other things). The parameters I pass to it are very simple.
I have made a button that works well but I must be actually inside the folders I want to compare:
What I actually want to do is pass the parameter for the SELECTED folder (or file) on the left and on the right. So it would be like this:
"C:\Program Files (x86)\Beyond Compare 4\BCompare.exe" "Dopus SELECTED file or folder on LEFT side of lister" "Dopus SELECTED file or folder on RIGHT side of lister"
I have been through all the documentation and I can find no obvious way to do this, yet I am sure it must be possible to pass the left and right SELECTED files or folders to an external application. Or even just the left and right selected folder.
If someone can please point me towards how it can be achieved I would be very grateful.
If you put Set SOURCE="left" at the beginning of your button code then {allfilepath} becomes the left selected files and {allfiledest} becomes the right selected files.
So full button code would be something like:
Set SOURCE="left"
"C:\Program Files (x86)\Beyond Compare 4\BCompare.exe" "{allfilepath}" "{allfiledest}"