On Sunday, July 19, 2020 at 3:22:40 PM UTC+2, Mat wrote: But how do I formulate the paramObject argument to achieve: > > 1. I wish to send along a variable value to be used inside the opened > window. > > IMO just create them. eg:
<$action-sendmessage $message="tm-open-window" width=xxx height=yyy myVar1="some text" myVar2="test" .../> It should do the trick and give those elements are "variables to the new window" ... Similar to <$var or <$set ... > > 1. width and height are, according to the docs, separate parameters in > the tw-open-window call BUT I'm not happy with how they can only be set in > pixels because the context I'm using it in does things in vh, vw. > > That's a restriction coming from the browser API. https://developer.mozilla.org/en-US/docs/Web/API/Window/open#Window_features ... Scroll down a bit to "SIZE" and have a closer look at the description. min = 100px and unit is px. ... So imo can't be changed, even if we want to. > > 1. I wish to control the position of the window. > > IMO would need to update the function -> GitHub feature request! Should be possible from the API point of view. See former link. -mario -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/24eda26d-f99f-4d1e-bfb1-795287054e3eo%40googlegroups.com.

