Writing Probes- but you return back to where you left off after each interruption

Need help inserting probes in writing task, where subjects will be able to pick back up where they left off after the interruptions (probes)!

OS (e.g. Win10): MacOS Catalina

PsychoPy version (e.g. 1.84.x): 2020-2.5

What are you trying to achieve?:
I need to give subjects a writing task while interrupting them periodically to answer probes. However, subjects need to be able to return back to where they left off in their writing.

What did you try to make it work?:
I’ve done something similar in the past but with video stimuli where I could just play a portion of a video in one routine and then have the following routine be a thought probe, where afterwards it moves on to a new routine that continues the video where it had left off. Since you can manually input when you want the videos to start/stop I could do this with probes but I’m not sure how to go about implementing this with writing tasks.

What specifically went wrong when you tried that?:
I’m currently attempting to use the “beta textbox” response so that participants will be able to see what they are typing. I’m assuming that I’ll need to implement some code to have them return to where they left off and still be able to see their text/the prompt, but not sure what that code would be/look like or where it should be placed. Also if I do need to input code, will it transfer correct when I eventually have to export the experiment as html and upload it to pavlovia?

What I would do is create a Variable component to store the Textbox’s content and then set the content each Routine according to that Variable, here’s a minimal example:
textboxStore.psyexp (10.3 KB)