eagles1 Posted November 2, 2006 Posted November 2, 2006 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 ?
ThatOneGuy Posted November 2, 2006 Posted November 2, 2006 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.
Ender Posted November 2, 2006 Posted November 2, 2006 Yeah, it would help to see the specific script.
eagles1 Posted November 2, 2006 Author Posted November 2, 2006 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.
ThatOneGuy Posted November 3, 2006 Posted November 3, 2006 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.
Recommended Posts
This topic is 6597 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now