Re: customProperties or similar for words in a field?

2015-10-10 Thread Dr. Hawkins
On Sat, Oct 10, 2015 at 6:24 PM, Richard Gaskin wrote: > Hello World That gets back to parsing backwards from the point of insertion, I think . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list use-livecode@lists.runr

Re: customProperties or similar for words in a field?

2015-10-10 Thread Richard Gaskin
Scott Rossi wrote: I probably don't understand the scope of the problem, but barring the use of wordOffset (am guessing some of your strings are multiple words), perhaps you could use htmlText with custom tags, i.e. Sept 10, 2015 and render the text as htmlText. In theory, the tags won't be sho

Re: customProperties or similar for words in a field?

2015-10-10 Thread Dr. Hawkins
On Sat, Oct 10, 2015 at 5:34 PM, J. Landman Gay wrote: > I can't think of anything elegant offhand. What popped into my head was a > "madlibs" approach where you put up a dialog requesting the various data > items and save the responses. Not pretty. > I'm partway there. I parse each input line

Re: customProperties or similar for words in a field?

2015-10-10 Thread Scott Rossi
I probably don't understand the scope of the problem, but barring the use of wordOffset (am guessing some of your strings are multiple words), perhaps you could use htmlText with custom tags, i.e. Sept 10, 2015 and render the text as htmlText. In theory, the tags won't be shown to the user, but wi

Re: customProperties or similar for words in a field?

2015-10-10 Thread J. Landman Gay
On 10/10/2015 10:28 AM, Dr. Hawkins wrote: On Sat, Oct 10, 2015 at 8:21 AM, J. Landman Gay wrote: This sounds like a job for the merge command. thanks,but that's a one-way trip. If the user changes something, I need to know which piece, as it shows up elsewhere. (And, potentially the use

Re: customProperties or similar for words in a field?

2015-10-10 Thread Dr. Hawkins
On Sat, Oct 10, 2015 at 8:21 AM, J. Landman Gay wrote: > > This sounds like a job for the merge command. > > thanks,but that's a one-way trip. If the user changes something, I need to know which piece, as it shows up elsewhere. (And, potentially the user could change the base text, too, which

Re: customProperties or similar for words in a field?

2015-10-10 Thread J. Landman Gay
On October 10, 2015 9:58:13 AM CDT, "Dr. Hawkins" wrote: > >I am now getting to motions, which will use data much like mail-merge >in a >word processor. So I might use something like > >Debtor ##dname## filed this petition on ##petdate## > > >to generate > > >Debtor John Doe filed this petitio

Re: customProperties or similar for words in a field?

2015-10-10 Thread Dr. Hawkins
It has also occurred to me to wrap in an html tag or some such to do this. On Sat, Oct 10, 2015 at 7:58 AM, Dr. Hawkins wrote: > Most of what I generate is forms, so keeping track of fields is easy and > natural. > > I am now getting to motions, which will use data much like mail-merge in a > w

Re: CustomProperties

2011-05-06 Thread Peter Brigham MD
On May 5, 2011, at 8:37 PM, dunb...@aol.com wrote: > You can. You can even set a custom property to an entire stack. > > > I use these all the time, they are incredibly powerful and convenient. > > > But I do not understand what it means to set a property to an object, as > opposed to a chunk

Re: CustomProperties

2011-05-06 Thread Thomas McGrath III
This does not however work in iOS. I just tried it and remembered that clipboard is not supported yet. Tom -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On May 5, 2011, at 11:37 PM, Jim Ault wrote: > These two lines should do it > > copy button "btnToStoreAsObjectForma

Re: CustomProperties

2011-05-06 Thread Thomas McGrath III
Jim, Ahh! I didn't think of the clipboard. I tried a bunch of things. Thank you -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On May 5, 2011, at 11:37 PM, Jim Ault wrote: > copy button "btnToStoreAsObjectFormat" > set the cpsObjects["cpBtn2"] of this stack to the clip

Re: CustomProperties

2011-05-05 Thread Jim Ault
These two lines should do it copy button "btnToStoreAsObjectFormat" set the cpsObjects["cpBtn2"] of this stack to the clipboarddata["objects"] Dictionary explains the clipboard array elements, one of which is "objects" Note special rules for stacks, cards, and groups. On May 5, 201

Re: CustomProperties

2011-05-05 Thread dunbarx
You can. You can even set a custom property to an entire stack. I use these all the time, they are incredibly powerful and convenient. But I do not understand what it means to set a property to an object, as opposed to a chunk of text (or maybe a video file?). So you can set the xxx of btn "b