February 19, 200421 yr I am having a problem with the simplest of scripts. I have defined a screen just containing buttons which call other screens. I want to set the zoom level and lock it. Of the 8 buttons only one works. They all call the correct screens, but only one sets the correct zoom level. Open["States.fp5"] SetZoom Level[200%, Lock] I'm using version 5.0v3 What am I missing here. Best regards, Brooke Kruger
February 19, 200421 yr The problem with the Open [] step is that it only opens the file. Nothing else. And if the file's already open it seems to do nothing at all. Your script tells FMP to open States.fp5 then set the zoom level in the *current* file to 200%. What you need to do is make an "open" script in States that does some or all of these things: Allow User Abort [off] Allow Toolbars [off] Set System Formats [on] Set Zoom Level [100%] Toggle Window [maximize] Toggle Text Ruler [off] Scroll Window [home] Toggle Status Area [hide, lock] Go to Layout [whatever] Refresh Window [bring to front] Now, instead of using the Open [] script step use Perform Script [external] and call the "open" script in each of the files.
Create an account or sign in to comment