Snippet to open a new snippet window?

Hello, is it possible for a snippet to open a new snippet window? I know about importing a snippet inside a snippet, but that opens the snippet in the same window rather than a separate window.

Here are more details about my specific situation. I do psychological evaluations and during the clinical interview, I prefer to have several snippet windows open at the same time so that I don't have to scroll down. Therefore, every time I start a new appointment, I'll manually go through and open separate snippet windows for History, Symptoms, Impairment, Diagnosis, etc. It would be great if there were a snippet that would open all those snippet windows for me.

Is that possible?

Thanks!

Hello! I'm Ishmael, not a dev on TB, but I've used it a lot.

To get more than one snippet open at a time & forgo scrolling is an interesting little conundrum. I see one simple way to help.
1st make a new snippet
2nd import the snippets for History, Symptoms, Impairment, Diagnosis, etc. (using {import: [name]}
3rd use check boxes to open up and close the different sections. When you're done with the evaluation check all the boxes and insert the snippet. You'll scroll once BUT it will all be in one window

Try it out and tell me how it works for you

3 Likes

Hmm, I've never shared a snippet before so I hope this works...

Ishmael, you're a genius! For some reason, I had thought that if I unchecked a toggle it would erase the input, but it does not. That works perfectly and actually better because it uses less real estate on my monitor.

Thank you!
Dug

{formtoggle: name=History; default=no}{import: /hx}{endformtoggle}
{formtoggle: name=Symptoms; default=no}{import: /sx}{endformtoggle}

1 Like