time stamp on return

Rob Cozens rcozens at pon.net
Tue Oct 28 10:24:20 EST 2003

>How do I add a time stamp in a field with each press of the return key, i.e.
>3:34 pm  The cat woke up <return>
>3:48 pm  The cat stretched <return>
>4:01 pm  The cat went back to sleep <return>
>4: 47 pm

Hi John,

on returnInField
    put return&(the short time)&"  " after me
end returnInField

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)

More information about the Use-livecode mailing list