Simply turn on the recorder, run the favorite search (or whatever), and you’re done.
I need to re-index my brain! I didn’t think of something I’d learned in my beginnings at Pan2. However, what the recorder produced wasn’t exactly what I was suggesting. Let me rephrase it.
For a saved Select/Find favorite named “FavName,” rather than wanting to know what the criteria or code were associated with that favorite were to insert in the procedure—admittedly useful—I wanted to just invoke it by name. Which I suppose would be more like a call statement with parameters for ‘favorite of what’ and ‘favorite name.’ Something like
CallFavorite "Select", "FavName"
That could give easier to read code and allow you to change what multiple code uses of a favorite do by manually redefining that favorite.