in reply to Re: Starting a script according to processesin thread Starting a script according to processes
in your code you use the variable $1
Dave.