A program started by activating its tool icon gets one argument in the wbstartup message: the name of the tool itself.