André.Bisseret wrote:

> Actually, it's the contrary : as a regular state, only few cards (the 4
> first ones in the stack) must remain non searchable ; while all the
> others must remain searchable.

If your current way is working then it is fine to keep it. But just to be complete for anyone who is following this, you could also do this:

on preOpenCard
  if the number of this cd > 4
  then set the dontsearch of this cd to false
end preOpencard

on closeCard
  set the dontsearch of this cd to true
end closeCard

This would be the fastest way to do what you want. Before you run these scripts, make sure you have set all the cards to dontsearch. The above handlers just make the current card searchable, unless it is one of the first four.

--
Jacqueline Landman Gay         |     [EMAIL PROTECTED]
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to