Page 1 of 1

Find command (find previous)

Posted: Fri Oct 02, 2009 5:24 pm
by baziukj
I’m very new to the whole Revolution suite, and trying to create a simple Rolodex system (phone list where each new card in the Stack ‘stackRolodexCards’ is a contact’s information). I’ve also got a second stack ‘stackSearch’ that functions as a very simple search window; type in a search parameter and clicking enter cycles through ‘stackRolodexCards’ finding the entered parameter.

Code: Select all

on returnInField -- goes in Find field's script
   if me is empty then
      beep -- nothing to find
   else
      set the defaultStack to "stackRolodexCards"
      find string the text of me -- "me" is the field
   end if
end returnInField
My find really just functions as a ‘find next’ (and does exactly what I want it to do) but is there a way to create a ‘find previous’ function?[/code]