05-07-2012, 03:29 PM
Hi all, Hi Gintaras
i can't find the solution to this, though i suspect i miss something plain and easy.
I want to interact with Directory Opus (DO°, but for some reason (personal setup), I can't use shell menu trigger, so I need
to pass selected files in DO to a QM macro using the _command parameter.
The problem is that files are passed to _command variable as this:
u:\myfile.txt u:\my file with space u:\myfolder u:\my folder with space (each file/folder name separated by space)
As you have guessed, i must parse files and folders names into str or ARRAY(str) variable.
I trid tok function, regex etc and I always fail because of the spaces in the files/folders name.
Solution?
Thanks.
i can't find the solution to this, though i suspect i miss something plain and easy.
I want to interact with Directory Opus (DO°, but for some reason (personal setup), I can't use shell menu trigger, so I need
to pass selected files in DO to a QM macro using the _command parameter.
The problem is that files are passed to _command variable as this:
u:\myfile.txt u:\my file with space u:\myfolder u:\my folder with space (each file/folder name separated by space)
As you have guessed, i must parse files and folders names into str or ARRAY(str) variable.
I trid tok function, regex etc and I always fail because of the spaces in the files/folders name.
Solution?
Thanks.