Scripting and specifiing Variables

I am trying to setup a Text Find that finds a string.  Then I need a script to add the string to a variable.  Right now I'm trying to use this

Action.LogToVariable(FoundText)

I don't know how to specify the Variable I wish to log to.

 

Any info would be helpful,

Hi Matt,

I've attached an example project which shows how to add the search results to variable. Hope it helps.

Regards,
Paul.

TextFindExample.fbz6 (2.091 KB)