Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7688 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

This topic is 7688 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.