I'd like to create button. First I select one and only one file and press my button. This should open conemu (or cmd.exe at least) and run the script above. Also this button should create render folder in current one if such folder isn't exists.
I know how to create a new button in DO. Bun I have problems with:
How to check if folder exists.
How to run some script in conemu (that is I should see console window).
How to make my button work with one and only one file.
How to make my button inactive when no files are not selected.
Also I have difficulties with if-then-else when scripting. I see in help that there is @if instruction, but I don't see smth like @else one.
It seems to me that this should be easy for those who knows scripting. Please help me to script this too.
If folder with my video file also contain render folder, I will not create this folder, just use it.
If folder with my video file doesn't contains render folder, I must create render folder.
FFMPEG will create new compressed video file. I want to put this new file in render folder.
It seems to me your solution is very close to my needs.
If my source folder already has render folder, what it will be after CreateFolder function? Will it create smth. like render (1) folder? How should I modify your script to use CreateFolder function only when render folder isn't exists? Thanks!
Sorry, but your code doesn't work for me, because there are whitespaces in file name and folder name. I still need help, because double quotes didn't help me.