March 17, 200421 yr 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
March 17, 200421 yr 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
March 18, 200421 yr Author 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. ??
March 18, 200421 yr Author 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. ??
March 18, 200421 yr At the top of the drop-down for the Perform Script Step is ...External Script. Select it, then choose a file. Steve
March 18, 200421 yr 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
March 19, 200421 yr Make sure the script in the related file ends with "Refresh Window [bring to front]" to force FMP to bring the window forward.
Create an account or sign in to comment