storing a calculated result
I have a script that performs a find when I press a button. It then insert the calculated result into a field.
How do I get the calculated result to remain in the field after I have come out of find mode? See below...
Enter Find Mode 
Perform Find [Restore]
Insert Calculated Result [select; Contact management::Duo_message; Get (found count)]
You don't. You can't store data in a field while in find mode and Get ( foundCount ) won't return the found count while in find mode as you haven't yet found any records.
Return to Browse mode and you can store the foundcount in a field and I'd use set field rather than insert to do so.