group id exists but yet not . . .
dochawk at gmail.com
Mon Jan 5 00:38:39 CET 2015
On Sun, Jan 4, 2015 at 2:41 PM, Peter M. Brigham <pmbrig at gmail.com> wrote:
> Just occurred to me, if the group is not placed on the card the handler is
> called from, this might be the problem.
Same card? I'm not even calling from the same stack :)
I have a routine to assemble properties, phrases, and the like when the
version changes. This script normally runs during openStack if needed, and
also from the messagebox at times
I've been accessing off-card/stack groups like this for quite a while
without a problem (including this one)
> What happens if you substitute "background" for "group"? eg
> put exists(background id 1004 of background id 1111 of card id 1016 of
> stack "nv") &&
> exists(background id 1004 of stack "nv")
the former gives
"Script compile error:
Error description: Chunk: bad chunk order (must be small to large)"
While the latter yields
The background token will give what you want no matter what, but if the
> group is not placed on the current card, "group xxx" will not.
I've always been able to access them before. I'm just working with
intrinsic and custom properties, for the group and its controls
Dr. Richard E. Hawkins, Esq.
More information about the use-livecode