digitalchaos Posted May 7, 2003 Posted May 7, 2003 Ok i have a closing script that loops twice for some reason it should only run once i have type it below when i say loops twice i mean it goes to the About screen then the Thank You screen,back to the About screen and again to the Thank You screen then it closes the template Allow User Abort [Off] Allow User Abort [Off] Close[Codes] Close[Large] Close[Pub] Close[sheet] Sort {Restore,No Dialog] Show All Records Go To Layout[About] Pause/Resume Script[0:00:02] Go To Layout[Thank You] Pause/Resume Script[0:00:02] Close[Main Menu] if it is the second pause resume script then how should it be written any help would be appreciated
Mike D. Posted May 7, 2003 Posted May 7, 2003 What file calls the closing script? Is it possible that more than one file has this script? Mike
digitalchaos Posted May 7, 2003 Author Posted May 7, 2003 The file main menu runs the script and then closes it self The about layout is in the main menu file and so is the thank you layout the Close,Large,Pub & Sheet files only have a relationship to the main menu file
Paolo Posted May 7, 2003 Posted May 7, 2003 maybe you have you set in the doc preferences to perform the closing script when the file is closed BUT the script is performed when clicking a custom close button you have made. if so, when you close manually the file the script is called just one time. But when you close the file with your custom close button the script is called twice. It is called the first time from the button, the second time when script maker performs the Close[Main Menu] step.
digitalchaos Posted May 7, 2003 Author Posted May 7, 2003 How stupid could i have been that was exactly what it was. It was right in front off me and i did not see it sorry if i wasted anyones time.
Paolo Posted May 8, 2003 Posted May 8, 2003 "How stupid could i have been that was exactly what it was. It was right in front off me and i did not see it sorry if i wasted anyones time. " Don't worry!! Forums exists for that kind of problems too! Btw: it's interesting that you can set a closing script in the doc preferences and put Close[] in that script without FM entering in a loop!
Recommended Posts
This topic is 8237 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