Pete,
Thanks for the insight. The issue with the focusObject seems to be fairly
nuanced and perhaps based on execution speed and platform. There is another
message thread with the subject "Is this a bug or am I missing something?”,
that seems to indicate that the focusedObject is changing
I think this is an example of LC not always dereferening things as
expected, especially when custom properties are involved.
I've had similar issues in the past and in fact have just had another one
where the following results in a runtime error:
put the cMyProp of (line 1 of the recentCards) int
Kay,
I gave it a try but it didn’t work. Digging in a bit deeper it gets a bit
more mysterious. It appears as if “the name of the focusedObject” and "the
focusedObject" refer to different objects. I expanded what goes to the message
box by using the following:
put ">" & the noType of (
Try:
put the noType of (the name of the focusedObject) && the focusedObject
into msg
The reference returned by fucusedObject is not in the format that is used
for the syntax of a custom property. You need to shorten it by referring to
just 'the name'.
HTH
On Thu, Oct 9, 2014 at 9:39 AM, John