Sorry Peter,

Try:

        set the textStyle of line theLine of field "test" to "bold"

I forgot this was a "repeat for each"  :-[

Try

set the itemDelimiter to " "
put 0 into lineCount
repeat for each line theLine in field "test" of stack "Calendar"
  add 1 to lineCount
  if item 1 of theLine is "Sunday" then
    set the textStyle of line lineCount of field "Test" to "bold"
  end if
end repeat


Rob Cozens CCW
Serendipity Software Company

"And I, which was two fooles, do so grow three;
 Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631) _______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to