I've just started to learn more about using variables in DOpus. I may have overlooked something,
but is it possible to assign the selected file or foldername as a value to a variable?
This doesn't work:
@SET test={o|noext}
CREATEFOLDER "{$test}"
(just an example, it can be done by using CREATEFOLDER {o|noext}, but i would like to know if the above is possible...)
So, when I use variables, i must always select 'MS-DOS Batch Function'...
But could you explain what you mean by: "DOpus cannot set the value of {o} , {f}, etc. to a local variable in many cases''.
Of course not always just when you want to define a local variable of DOpus internal file(s)/Path(s) variables (i.e {o}, {f}, etc). Other variables will be defined without any problem under Standard Function mode.
Apparently the Leo method will be worked too, however, I didn't test it under different situations. I just can say Leo know DOpus much better of me and I learn many things of his letters. You could use his method under Standard Function and if not answered, test my method afterward.
Hmmm....Hardly ever I have saw I can define a local variable of DOpus internal file/path variables under Standard Function mode without any problem. I cannot remember that situations, but my experience is learned me I have not to define a local variable of DOpus internal file/path variables under this mode. Always I use MS-DOS Batch Function for this purpose.