apple script


I don't know much about apple scripts so I could use some help. I have a few labs of macs running tiger. I am looking for a script to delete the local profiles so I can run it either as a logoff script or run it from time to time using ARD. My server that manages the Mac labs is a Leopard server all macs are bound to a domain.