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.

Dialog box not responding

Featured Replies

I have this very annoying problem. Occasionally the simple custom dialog (with only 2 buttons - Ok and Cancel) does not response when user click on the OK button. Sometime I have to shutdown FM to get it to work. Does anyone has this experience ?

Hi eagles1:

It's difficult to tell exactly what the problem may be, but perhaps you could answer this question. In your script, do you have an If [ Get ( LastMessageChoice ) ... ] structure after the Show Custom Dialog step?

If you don't have a similar If statement, or you're not sure how to go about it, we're happy to help. Could you post your script or attach the file so we can take a closer look? The problem could be one of several things.

Yeah, it would help to see the specific script.

  • Author

I do have the If [ Get ( LastMessageChoice ). If user click OK (in this case, the lastmessagechoice is 2) , it will then perform a script. Otherwise, the it just Halt Script when user click Cancel (which is the default). It is a simple script taken out from the FM Help.

The annoying thing is it works most of the time. Probably once a day or so, when user click OK, nothing happens. User has to click Cancel and try again.

Hi eagles1:

True, that is annoying. Occassionally, I have to click twice on a button ... I usually chalk it up to the mouse, like I "half-clicked" the button or something. You mentioned in your initial post that sometimes you have to shut FM down to get it to work. I haven't encountered that.

If the problem continues, include your script in a post, and we'd be happy to take a look at it. It sounds like your structure's okay, eagles1, but there's nothing like looking at the script itself.*

Sidebar ... May as well mention here for other readers about Input Fields in a Custom Dialog. Anytime we include fields in the Dialog for user input, Button 1 (the default or rightmost button) is the only button that will write information from the input fields to a file ... Get ( LastMessageChoice ) = 1. Just a reminder.

------

* I have a favorite way for getting a script out of FM without having to run the DDR. Using a Mac, I select the script and click the "Print" button in ScriptMaker's main window. At the print dialog of OSX, I click the PDF button. From there, I have a couple of options ... I can simply attach the PDF file to my post, or I can open the PDF, select the relevant parts, then Copy what I've highlighted and Paste it into my post.

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.