January 5, 200323 yr Something odd is happening with my scripts ( FM 5.5, Windows 98). The Following works fine : Perform Script ( External:FileABC) The external script is a simple one that selects a layout. However the following doesn't work Show Message If ( Current(MessageChoice)=1 Perform Script ( External:FileABC) Exit Script EndIf Go to layout DEF With message choice 1, the script does change the layout in the ABC file, but the script continues to layout DEF in the original file. I've used this type of routine umpteen times and don't recall any problems. Should I reinstall FM ? I know the files have not been damaged as they are always closed properly. Many thanks
January 5, 200323 yr Hi: This might not be working because you will need the script to end in the external file. At the end of the external script, but the halt script step in. See if that works. Ken
January 5, 200323 yr Quote Show Message If ( Current(MessageChoice)=1 Perform Script ( External:FileABC) Exit Script EndIf Go to layout DEF With message choice 1, the script does change the layout in the ABC file, but the script continues to layout DEF in the original file. end quote Try it this way Show Message If ( Current(MessageChoice)=1 Perform Script ( External:FileABC) Else Go to layout DEF EndIf
January 5, 200323 yr yup ! ken is absolutely right. from your script you are exiting the script in the def original file after you perform the external[file:abc]. so you need to get rid of exit script step which is at the below external script step. regards, kyle
January 5, 200323 yr hey chopper just beat me to it. now you got plenty help. you must be cute. regards, kyle
Create an account or sign in to comment