November 10, 200322 yr I have a script (Script A) in a Master file that calls a sub-script (Sub-Script in the Sub file. Sub-Script B calls another sub-script (Sub-Scipt C) in the same sub file. If I run Sub-Script B in it's own file it works flawlessly. When I call it with Script A it skips over the Preview Mode function and performs the Show Message function in the Browse Mode of the Master file. - If I add a halt script after the Preview Mode function it will halt as requested in the Preview Mode of the Sub file. - If I add a beep after the Preview Mode it will "beep" and display the Show Message function in the Browse Mode of the Master file. - If I add a Pause/Resume Script ["1:00:00"] it will work exactly as planned only it takes one extra second. Why does it not work without some kind of interruption to trigger the Preview Mode? Script A - Performs Sub-script B Go to Layout [original layout] Sub-Script B - Perform Script [sub-script, "Sub-Script C" ] Preview [] # Comment Line Choice 1 # Comment Line Choice 2 # Comment Line Choice 3 Show Message ["blah,blah blah "] If ["Status( CurrentMessageChoice ) = 1"] Print [No Dialogue] Go to Layout [original layout] Sub-Script C - Performs Print Setup
Create an account or sign in to comment