Change Field Property in All Fields of a Stack
Steven Axtell
saxtell at neb.rr.com
Tue Jun 15 19:49:47 EDT 2010
Craig,
Thanks for the scripting ideas. They were very helpful.
Steve Axtell
> Do you need to do this on a regular basis? If so, you can put the code I
> just sent into the stack script, but change it:
>
> on changeAllFields tProperty,tValue
> repeat with y = 1 to the number of cds
> repeat with x = 1 to the number of fields of cd y
> set the tProperty of fld x of cd y to tValue
> end repeat
> end repeat
> end changeAllFields
>
> Now you can call this from a button, say, with:
>
> on mouseUp
> changeAllFields yourProperty,yourValue
> end mouseUp
>
> Make sure that the properties and their values are sympatico. You would
> not
> want to set the textSize of your fields to "italic". (Do you know about
> "try" control structures?)
>
> Craig Newman
More information about the use-livecode
mailing list