Page 1 of 1
multiple arguments in scripts
Posted: Tue Mar 15, 2005 5:18 pm
by marcelo002
Is there a way of getting two or more arguments in a script?
for example,
/script{arg1, arg2}
and in the script,
on substitute(arg1, arg2)
it doesnt work for me when i try to do it, so maybe the syntax is different...
Posted: Wed Mar 16, 2005 12:42 am
by zaudragon
No space is all…
Posted: Wed Mar 16, 2005 1:53 am
by marcelo002
thanks, but i was being an idiot in the info.plist
now i can finish my scripts, woohoo 8)
Posted: Wed Mar 16, 2005 4:14 am
by Reikon
yeah..
<key>Arguments</key>
<string>param1,param2,param3,param4</string>
Posted: Wed Mar 16, 2005 4:18 am
by zaudragon
Reikon wrote:yeah..
<key>Arguments</key>
<string>param1,param2,param3,param4</string>
You don't really need the Arguments key, but it helps.
My leet script has no Arguments key.
Posted: Wed Mar 16, 2005 4:25 am
by Reikon
I just do it as it works..lol.