Not sure if this is what you are after or if it works on Mac but here's a good guide by "Radiate" - http://sythe.org/showthread.php?t=1325021. I believe you can also do this without any 3rd party software, if this is actually what you are trying to do.
EDIT: You posted before me. If you are looking for an auto-typer, "Gary's Hood" auto typer is good - http://www.garyshood.com/rsclient/, however the auto clicker hasn't got any anti-ban I don't think.