Want to apply a script to find a text area, give it some text and change the colour of the text
Here i have added the text but dont know which attributes change the colour:
myFrame = app.activeDocument.textFrames.itemByName("test");
myFrame.contents = "hello world";
Just in case you what to do what to apply style to a range of para(character style)
For further details of the available properties refer: http://jongware.mit.edu/idcs6js/pc_ParagraphStyle.html