User Function with spaces in argument

I have a user defined function (Collector) which errors out on paths with spaces

The User Fuction: go &ARG1& openindest
The Button: Collector {f}

How do I overcome this?
I've tried it with surrounding quotes as well

(And please ignore the function, I simplified it for the sake of clarity)

@nofilenamequoting has to be placed in the calling function and the recieving user command with the &arg1& embedded in quotes.

"&arg1&"

Can multiple arguments be used in user functions?

ex. &arg1& &arg2& &arg3&

It doesn't seem to need @nofilenamequoting. This works fine for me with paths containing spaces, in Opus 9.1.1.6:


[quote="Zion"]Can multiple arguments be used in user functions?

ex. &arg1& &arg2& &arg3&[/quote]

Yes. The template would be:

arg1,arg2,arg3

Yes you are right about no need for @nofilenamequoting. I implemented that and the quotes around &arg1& at the same time so I thought it was a combination of both.

COOL though, and thanks for the multiple argument answer.