Setting Task Color

Hi,


I need to parse all the tasks in a project and set task name to RED whose duration is more than 10 days. I can’t seem to find any method for this. Can you please help?