bkruger Posted February 19, 2004 Posted February 19, 2004 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
Vaughan Posted February 19, 2004 Posted February 19, 2004 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.
Recommended Posts
This topic is 7587 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 accountSign in
Already have an account? Sign in here.
Sign In Now