using a custom property as a sort key ?
Thomas McGrath III
3mcgrath at adelphia.net
Sun Feb 29 07:31:41 CST 2004
Don't forget the altID of each card as well...
The altID does not change if you have them in the preferred order when
you set the altID.
This is good to get back to the original order.
Then you can use the index of card to sort other ways.
On Feb 28, 2004, at 11:58 PM, Christopher Mitchell wrote:
> This looks like something just about what I was hoping for. It is
> still not my perfect syntax but if it does the same thing then so be
> it. What I'm really looking for (ideally) is a command that bypasses
> the marking/going step and just goes there.
> go card where (the Index of this card = 1)
> go card with the Index = 1
> an exact parallel of something like: go card with the short name "foo"
> In any case these beat my solution - but I was very pleased with
> myself for having made it work on my own even in a very crude script.
> On Feb 28, 2004, at 10:10 PM, Ken Ray wrote:
>> How's this:
>> mark cards where (the Index of this card = 1)
>> go next marked card
>> unmark all cards -- just to be safe
>> Ken Ray
>> Sons of Thunder Software
>> Email: kray at sonsothunder.com
>> Web Site: http://www.sonsothunder.com/
>>> -----Original Message-----
>>> From: use-revolution-bounces at lists.runrev.com
>>> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of
>>> Christopher Mitchell
>>> Sent: Saturday, February 28, 2004 9:11 PM
>>> To: How to use Revolution
>>> Subject: using a custom property as a sort key ?
>>> Is it possible to use a custom property as a sort key? I
>>> have a stack
>>> of flashcards that have an embedded "permanent" order in the
>>> form of a
>>> custom property called Index. I use a pretty crude script to flip
>>> through all the cards (after being shuffled, aka sort on key random),
>>> find the one with index 1, go to it, then sort on it.
>>> Is it possible to say something like: go to card with Index of 1
>>> ? (obviously that is not appropriate transcript, as i'm searching for
>>> the syntax)... this would be similar to saying something along the
>>> lines of go to card with short name "xyz"
>>> Surely this is implemented, and I just can't find it.
>>> use-revolution mailing list
>>> use-revolution at lists.runrev.com
>>> http://lists.runrev.com/mailman/listinfo/use-> revolution
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
> use-revolution mailing list
> use-revolution at lists.runrev.com
Thomas J. McGrath III
1000 Killarney Dr.
Pittsburgh, PA 15234
More information about the use-livecode