Skip 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.

Pausing script step to lock windows

Featured Replies

My interface is a single main window but for certain functions I "open a pop up window" for actions such as data entry in portals, entering search parameters, etc..." I like the way the pause button prevents the user from getting out of the active window and locks out the window close buttons.

Just a thought, would it be a good idea to add a pause script step to the end of ALL scripts so that after an action is completed, the user is forced to stay on the window and to prevent the user from using the close a window button?

It would require you to keep the status area hidden and tightly control the navigation and interface.

A simpler solution is to use custom menus to make the Close command run your own script.

  • Author

Thanks for you feed back.

I do have my own close buttons and all access to non layout items is hidden, locked, etc. By using the pause, I want to prevent the user from circumventing MY buttons & scripts. All layouts do have a close button if that's what I want (only on the "pop up's") and that close script also often checks and validates data input. Still that little red button at the top right seems to temp some of my staff occasionally. They then have to re-launch the pop up and reinsert the data.

The Main (and only other window open) has buttons that simply change layouts to allow various functions or data views.

OS

I'm not talking about a script that runs on Close, that you specify in the file options. I mean a script that runs instead of Close, which would not necessarily close the file or the window, but would behave differently depending on the context. It would probably do what your custom Close button does, but with a custom menu you wouldn't need your own Close button, you'd usurp the existing Close button. Custom menus affect the buttons as well as the menus.

  • Author

I think we are talking about separate things or I'm not understaning your answer, but I appreciate your effort.

One picture is worth...

Here is a screen shot. The underlaying window is my one and only interface window. The small window top left is my pop up. The Enter & Cancel buttons validate and enter data or clear and close the small window. Without Pause the user can go back to the main window or use the red close button. With pause the user cannot move out of that smaller window and cannot use the red close window button. (Some "pop up's" will have Close button in place of the Enter depending on use)

If I end all my scripts that take the user to one of these pop up windows, is there going to be a problem? In my very short and limited experiment I didn't see one but I didn't test all actions, functions.

  • Author

:) where is the attachment button???

Here's a screenshot for you.

In your OP you said you have FM9 Advanced; your users need at least FM8 to handle custom menus.

customClose.gif

Edited by Guest
To attach a file, edit your post and scroll down to File Attachments, click Manage files

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.