Count Up Timer?
Craig Newman
craig at starfirelighting.com
Tue Nov 2 16:20:06 EDT 2021
When I was very young I used to run a gadget like this on a field with styled text:
on mouseUp
get fld 1
repeat for each char tChar in it
put numToChar(charToNum(tChar)) after accum
end repeat
put accum into fld 2
end mouseUp
But you do not have to do all that:
on mouseUp
get fld 1
put it into fld 2
end mouseUp
I suppose when you put styled text into a variable, unless you play with the HTMLText, only plain text can be held there.
Craig
> On Nov 2, 2021, at 1:27 PM, Sean Cole via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> Tom,
> It is.
> I would copy it into TextEdit (Plaintext), Atom or BBEdit first to strip
> any formatting properly, then copy paste from there to mail. :)
> It happens. Nothing to worry about and only a minor inconvenience.
> Good code, though :)
> Sean
>
>
> On Tue, 2 Nov 2021 at 17:14, Tom Glod via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
>> Oh man ..I forgot about the formatting thing.
>> In my client it shows up formatted with color.
>> Does it work ok if it is pasted plain text?
>>
>> On Tue, Nov 2, 2021 at 12:08 PM Mark Wieder via use-livecode <
>> use-livecode at lists.runrev.com> wrote:
>>
>>> On 11/2/21 8:48 AM, Craig Newman via use-livecode wrote:
>>>> Mark.
>>>>
>>>> “... unless the person was born after 1 January 1970."
>>>>
>>>> Check out the thread “When was the big bang?” on the forum:
>>>>
>>>>
>>>
>> https://forums.livecode.com/viewtopic.php?f=9&t=26619&p=138530&hilit=big+bang#p138530
>>>
>>> LOL. "one bit for (the) apple."
>>>
>>> --
>>> Mark Wieder
>>> ahsoftware at gmail.com
>>>
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>
>>
>>
>> --
>> Tom Glod
>> Founder & Developer
>> MakeShyft R.D.A (www.makeshyft.com)
>> Mobile:647.562.9411
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list