There's no simple solution, I'm afraid. About the best I can think of is to temporarily create the relevant groups and styles at the application level, use references to those, and delete them when finished. It might be easier just to move the styles while you do the search, and put them back at the end.
Thanks for the quick reply. I will look into this as a solution.
InDesign is forgiving if you specify your style just by name, but in the case of style groups you have to be more specific.
tell application "Adobe InDesign CS4"
-- set applied paragraph style of find text preferences to "Text"
set applied paragraph style of find text preferences to paragraph style "Text" of paragraph style group "Main" of active document
This works! I was worried because I'm on CS3 and you CS4, but it works.
Thank you so much for your insight.