Hi Tim, Yup, you are correct :) I was looking for a way to create one variable that can be used many times to apply styling to a block of text rather than having to run through a whole series of options each time for every paragraph.
So at the moment let's say here are 3,000 product names being added and we have specified a certain font, style, colour, etc. for the product names. We have to run through a whole long list of options EVERY TIME for EACH product name. I was looking for a more efficient way to do it. Of course if we could create stylesheets on the fly, that would solve the problem ... :) but we can't. (Note - we're working on an offscreen WritePro area and building documents entirely from scratch - not using templates). Pat On Sun, 15 Jul 2018 at 20:09, Tim Nevels via 4D_Tech <[email protected]> wrote: > On Jul 15, 2018, at 2:00 PM, Pat Bensky wrote: > > > I'm sending 4 Attributes (two pairs) plus the target object, so that > seems > > correct to me ... > > > > WP SET ATTRIBUTES ( targetObj ; attribName ; attribValue {; attribName2 ; > > attribValue2 ; ... ; attribNameN ; attribValueN} ) > > Hi Pat, > > Notice the WP SET ATTRIBUTES command definition. Those semicolons “;” > indicate individual parameters. You are trying to send 1 text parameter > that is several text values separated by semicolons. You can’t do that > based on the WP SET ATTRIBUTES command definition. The command requires 3 > parameters to set 1 attribName. Or you can pass in 5 parameters to set 2 > attribName and attribValue. You want to set 3 attribNames, pass in 7 > parameters. > > Tim > > ***************************************** > Tim Nevels > Innovative Solutions > 785-749-3444 > [email protected] > ***************************************** > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** -- ************************************************* CatBase - Top Dog in Data Publishing tel: +44 (0) 207 118 7889 w: http://www.catbase.com skype: pat.bensky ************************************************* ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

