Setting Stip to Viewport size (less nav bar)

HI, I know there are several posts on this, but they are all closed and I have two questions about it. I implemented the solution suggested here: https://www.wix.com/corvid/forum/community-discussion/set-strip-height-to-viewport-size posted by בונה אדריכלים ומעצבים . Its a great solution and works well with just one text box and no menu bar.

My issues with it are:
(1) I put the portview text from the script as an invisible “.” text. The text I want to show has to have a box around it that is not the full portview height, so I can’t use it for strip height setting. The script works great, but it justifies to over or under the other text box, hereby adding to the portview height.
(2) The menu bar is not calculated. Someone suggested that one could alter the script to be less than 100%, but I need to use the actual pixel height… using a % defeats the purpose since the strip is supposed to adjust to the portalview.

I have tried various of doing 100% less X pixels, but I can’t get it to work.

If anyone has any recommendations, I would really appreciate it.