Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
String parsing problem
#1
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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)