mark cards by finding -- new insights
Buster
wouter.abraham at scarlet.be
Sat Jul 9 03:47:37 EDT 2005
Hi Timothy,
Did you try the following too? No need for the find command.
(I can't find it in this thread but then I can miss easily and if I
did, sorry in advance :-)
mark cards where field <fieldname> contains <string>
or
mark cards where field <fieldname> contains <string> and field
<fieldname2> contains <string2>
or
mark cards where field <fieldname> contains <string> and the hilite
of button <buttonname> [is true]
or whatever combination
This works for me on my large from HC imported stacks.
Greetings,
Wouter
On 09 Jul 2005, at 05:23, J. Landman Gay wrote:
> On 7/8/05 4:11 PM, Timothy Miller wrote:
>
>
>> However, when I un-commented the handlers, the 'mark cards by
>> finding...' script continued to work. I saved and closed the
>> stack, re-opened it, and the command continued to work. This time,
>> I hadn't changed any field properties.
>> It's hard to avoid the conclusion that this is an intermittent bug
>> that is influenced by some combination of field properties and/or
>> field scripts and/or the placement of the field in a group, and/or
>> group properties, and/or turning on "behave like a background" in
>> the group properties.
>>
>
> Your testing was pretty thorough. All variants of the "find"
> command work consistently for me in all my stacks, but when I see
> something like this -- where it works in native stacks but not in a
> converted HyperCard stack -- my experience has been that something
> isn't quite right with the converted objects. This may be the case
> in your situation. Rev does a very good job bringing in HC stacks,
> but sometimes the HC file is a bit off (especially with very old HC
> stacks) and Rev can't always convert it exactly. Since your stacks
> have probably lived through several HC versions as well as Rev, I'm
> starting to think that's the problem.
>
> One (tedious) way to fix it might be to delete the fields in
> question and re-create them in Rev; then they would be fully-native
> Rev objects without any HC baggage. I have had to do that
> occasionally with HC popup buttons, which sometimes don't transfer
> over very well.
>
> You could try setting the HCAddressing of the stack to false if it
> won't affect your scripts (you'd have to test everything to see,)
> and it might fix the "find" problem. It does fix some other
> glitches sometimes. No promises.
>
> But easier, since the "find" commands work for you in other stacks,
> I think I'd just go with "find string" for this stack and leave it
> at that. I am sure that any new stacks you create will "mark cards
> by finding" fine.
>
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> _______________________________________________
Ps I replied on this mail to retain the chronological order on some
mail archive sites
More information about the use-livecode
mailing list