This shall create a subdirectory named "SomeDir\ABC" within the actual directory when the button is clicked.
This stopped working right now. I always get the "SomeDir\ABC" on the root of the drive -> {sourcepath} is not working. I am not sure if this is due to the newest version of DOPUS 9.1.1.0 or something else.
So can anyone verify this behaviour, please? Thank You.
I didn't upgrade yet, so i tested your button code in v9.1.0.6 -> no problem
Then i did the upgrade to test your button code in v9.1.1.0 -> problem confirmed!
I've reported it to GPSoftware as {sourcepath} should work the same as {sourcepath$} if there is a source.
It's probably related to this change in 9.1.1.0:
Fixed a problem with commands that tried to set a variable using @set with the value {sourcepath$}
If the example command you gave is the full command and not just a simplified example then you can reduce it to this, which doesn't use @set or {sourcepath}, for what it's worth:
[quote="leo"]I've reported it to GPSoftware as {sourcepath} should work the same as {sourcepath$} if there is a source.
It's probably related to this change in 9.1.1.0:
Fixed a problem with commands that tried to set a variable using @set with the value {sourcepath$}[/quote]
Thanks leo. I suspect this, too.
[quote="leo"]
If the example command you gave is the full command and not just a simplified example then you can reduce it to this, which doesn't use @set or {sourcepath}, for what it's worth:
CreateFolder SomeDir\ABC[/quote]
Unfortunately I need the $sbxDir variable a couple of times within the button function.
But it's not problem to replace it {sourcepath} with {sourcepath$} and back again in a new release.
You should probably use {sourcepath$} anyway since the button won't make sense if there is no source path. (e.g. If you run it from a global hotkey or floating toolbar when there are no listers open.)