I am attempting to add a button to DOpus that will convert selected image files to 4000x4000 and 512x512. The code below shows the process which works fine. The problem I have is I need these resized images to be automatically moved to a new folder called "4000" and "512".
Any help would be much appreciated.
I am a very new used by the way.
Regards
Roly
Image CONVERT=jpg HERE ADDSUFFIX HEIGHT=4000 WIDTH=4000 PRESERVEASPECTRATIO @NODESELECT
Image CONVERT=jpg HERE ADDSUFFIX HEIGHT=512 WIDTH=512 PRESERVEASPECTRATIO @NODESELECT
Now I get two new folder "4000" and "512" (good start) plus the converted files in the root folder rather than the new folders. Now, how do I get the resized files into the new folders...?
Since creating this script I have discovered a flaw in it. When I create a folder I sometimes have the "Read new folder automatically" option checked. If the option is checked from the previous command then the script will not work. If I created a folder and uncheck the option then the script will work fine the next time it is run.
So, is there a command to switch the option off before running the script...?