IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#43006 - 04/06/13 12:04 PM Condition in Basic Attributes ofa box object
wojciechm Offline
OL User

Registered: 10/14/11
Posts: 75
Hi is it possible to write a custom condition in Properties of a box object under Basic Attributes? If so how would i phrase the following properly so it would be true: if area @(43,38,48) is blank. I know how I can do that by creating a condition object but I have 200 boxes to shade based on 200 different lines in the txt file I'm using as the data feed and would want to avoid creating 200 condition objects and rather just copy and paste the box 200 times and change the line number in the custom condition and possibly learn something smile. I hope what I wrote makes sense smile Please help, thanks

Top
#43021 - 04/09/13 03:36 PM Re: Condition in Basic Attributes ofa box object [Re: wojciechm]
CSP Offline
OL Toddler

Registered: 10/27/01
Posts: 48
Hi,

You can create a global variable of type integer containing the initial value of the data line. In the condition properties of a box you must code the following:

= Trim (@ (&&line, 43,48)) =''

In PressTalk After you must include:
&line: = &line + 1

Now whenever you copy and paste this object it will increase the variable &line and go to the next data line.

Top