Hello,
first I would like to tell you, that
terRemote is a really great app.

Actually I bought the first smartphone of my life because of the possibilities
terRemote (pro) offers.
Up to now everything worked like a charm but now I need some help. I'm trying to get the hang of the 'flow control' action type. I have a created a remote for FastStone Image Viewer, spread across two layouts. Layout FSV_1 deals with the treeview and thumbnail panels. When I watch the selected image in fullscreen mode, layout FSV_2 is automatically activated. It offers touchpad-panning of the image, next/previous image, zoom etc. Closing fullscreen brings me back to FSV_1.
From both layouts I can invoke a fullscreen display of an image in DevalVR, a panorama viewer that offers exeptionally smooth zooming an panning. In this case, the DevalVR layout is activated. From there I would like to return to the layout (FSV_1 or FSV_2) that brought me to the DevalVR layout. To achieve this purpose the DevalVR-buttons in FSV_1 and FSV_2 use a 'flow control - set global variable' action type in the 'action on click' where I assign the values '1' rsp. '2' (without the quotes) to the global variable 'fsv':
e.g.: Variable: ${fsv}
Value: 2
In the DevalVR layout the Escape-button that terminates the application has the following 'action on click':
Network (EventGhost): dvlEscape
Flow control, Type 'If':
Condition:
$math{${fsv}==1}
If True: Show Layout FSV_1
If False: Show Layout FSV_2
DevalVR is terminated, but FSV_2 is never shown regardless from where I invoked DevalVR. I don't know what I'm missing. I also tried
$if{$math{${fsv}==1}} and
${fsv}==1 as condition, but to no avail.
To me, the
terRemote stuff discussed here, looks pretty heavy. Maybe I'm blindfolded and the answer to my question is easy. I searched this forum but I couldn't find a clue. So I'm stuck. Any help appreciated.
Best wishes
Tryanderror