Zion
December 22, 2008, 5:02pm
1
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)
Zion
December 22, 2008, 9:10pm
2
@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&
Leo
December 22, 2008, 9:35pm
3
It doesn't seem to need @nofilenamequoting . This works fine for me with paths containing spaces, in Opus 9.1.1.6:
Leo
December 22, 2008, 9:43pm
4
[quote="Zion"]Can multiple arguments be used in user functions?
ex. &arg1& &arg2& &arg3&[/quote]
Yes. The template would be:
arg1,arg2,arg3
Zion
December 23, 2008, 12:34pm
5
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.