multiple arguments in scripts

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
marcelo002
Harmless
Posts: 12
Joined: Mon Dec 13, 2004 8:51 pm
Location: Pennsylvania State University

multiple arguments in scripts

Post 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...
User avatar
zaudragon
Growl Team
Posts: 1852
Joined: Sat Dec 04, 2004 5:05 am
Location: Kensington, CA, USA
Contact:

Post by zaudragon »

No space is all…
Blog | X(tras)
Communists code without classes.
marcelo002
Harmless
Posts: 12
Joined: Mon Dec 13, 2004 8:51 pm
Location: Pennsylvania State University

Post by marcelo002 »

thanks, but i was being an idiot in the info.plist

now i can finish my scripts, woohoo 8)
Reikon

Post by Reikon »

yeah..

<key>Arguments</key>
<string>param1,param2,param3,param4</string>
User avatar
zaudragon
Growl Team
Posts: 1852
Joined: Sat Dec 04, 2004 5:05 am
Location: Kensington, CA, USA
Contact:

Post 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.
Blog | X(tras)
Communists code without classes.
Reikon

Post by Reikon »

I just do it as it works..lol.
Post Reply