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

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

Recommended Posts

Posted

hi there,

i'm trying to do something very basic, but being new to this am having no success. I simply want to have a button no a layout which minimises the current window and calls a layout from a file with related fields and displays that layout maximise. Sounds like it should be simple, but I can't get the scripting right. Any help appreciate.

Version: v6.x

Platform: Windows XP

Posted

You don't have to minimize the first layout. Have a script in the second file with a GoTo Layout. Call this script from the button on the layout in the first file. FM will bring the second layout to the front.

Steve

Posted

duh, just tried it, but can't in the 'perfrom script' window, can't get to the scripts in the other, only the ones in the current file. ??

Posted

duh, just tried it, but in the 'perfrom script' window, can't get to the scripts in the other, only the ones in the current file. ??

Posted

Actually the Perform Script step, when attaching a script to a button, does not offer the External option. What you need to do is create a script in File 1 that includes a Perform script step, referencing the external script in the second file. Then in the first file, attach that script to a button.

Echo

Posted

Make sure the script in the related file ends with "Refresh Window [bring to front]" to force FMP to bring the window forward.

This topic is 7553 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.