Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Remembering the front-most tab

Featured Replies

Hi all,

I have a problem similar to the one discussed in this thread.

It was suggested that the active tab could be captured using a normal script step with a script trigger on exiting the layout, but I can't find the proper script step.

I messed around with OnPanelSwitch and GetLayoutObjectAttribute, but whatever I tried, didn't work. At least, going back to the proper tab with Go to Object is easy.

Thanks for any help,

 

Edited by stefangs

57 minutes ago, stefangs said:

messed around with OnPanelSwitch and GetLayoutObjectAttribute,

OnPanelSwitch is relevant,  GetLayoutObjectAttribute is not. Simply make the triggered script remember the target panel using the Get ( TriggerTargetPanel ) function.

Of course, all this can be avoided if you open a new window, do whatever you need to do, then close the window to return to your previous state intact.

 

Edited by comment

  • Author

Perfect, thanks. I think it is more intuitive to the user than opening a new window, but that depends on the application. In my case, this option is great!

13 minutes ago, stefangs said:

I think it is more intuitive to the user than opening a new window,

The user does not have to know.

  • Author

Now you have my curiosity. How would the user not know? Do you mean by setting the window coordinates so that both windows align on top of one another?

Also, the user will be presented with yet another window that has tabs, so this process may end up opening a lot of windows.

18 minutes ago, stefangs said:

Do you mean by setting the window coordinates so that both windows align on top of one another?

Yes. That is the default. This is assuming that the user needs to interact with the other layout. Otherwise you can have your script freeze the window, open a new one (either on top or off-screen), do its thing and return - and the user will not notice anything (at least not on a Mac).

 

  • Author

Interesting! I suppose then there are ways to prevent the user from moving or resizing the window, otherwise this trick would break. Why would you want to open a new window off-screen? You can't interact with that, can you?

I said "otherwise" - i.e. when the user does not need to interact with the process.

  • Author

 Ah yes, thanks for clarifying. 

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.