January 10, 200521 yr I'm seeking a way to open a FP5 solution and bypass the opening script. What I wish to do is have the solution open without running the opening script at all. Is this possible?
January 10, 200521 yr Hi - One way of doing this is to put in a developer section in the script that allows you to bypass the startup script. This is basically a set of ModifierKeys that the startup script looks for and then exits the script. To do this you simply Set Error Capture [on] Then put in a simple IF step after this and before the rest of your script If Get(ActiveModifierKeys) = x # Place in here what you would like to do. Maybe open the Status Bar, or jsut Exit Script End If # The rest of your script goes here. The modifier key numbers to use are listed below Shift = 1 Caps Lock = 2 Ctrl (Windows) and Control (Mac OS) = 4 Alt (Windows) and Option (Mac OS) = 8 CMD (Mac OS) = 16 HTH
January 10, 200521 yr Author Great thought there Andy...I'll certainly do that in the future. That's a great way to control activation of an opening script. But what do I do with an existing FP5 solution that I want to run and avoid the opening script?...what can I do to accomplish that?.. How can I get around the opening script automatically being opened when I open the solution? That's my real dilema. Thank you.
January 10, 200521 yr Open the file by externally calling a script. Have you used opener files before?
January 10, 200521 yr Author Open the file by externally calling a script.:? Ok that's a new one for me. Help Cecil Help! lol :-) Looks like I need some detailed instruction here.
January 10, 200521 yr Author and "opener files"?? ..... All I'm hoping to do is open the file ( I have the Admin password) without executing the opening script. If someone knows a way to do this, I'd be most grateful. Thank you.....
January 11, 200521 yr If you open a file directly (by double-clicking on it) you'll ALWAYS run the opening script. So you need to open the file some other way: indirectly. This can be through a relationship, or by calling a script externally (amongst others). Make a FMP file that has a script in it that runs a script in the file you really want to open.
January 11, 200521 yr Create a relationship to that file (file A) from another file (file :, it doesn't even need to be true,to the file, and put a field from that relationship on a layout in file B; when you go to that layout, it will open file A without running the opening script.
January 12, 200521 yr Author You all make it so simple.....your methods worked perfectly. What can I say? You all are fantastic and I'm a happy camper. Thank you. Is there anything that filemaker can't do??? I'm working on a creating a method to have a field "flash" back and forth, alternating background colors without interfeering with data imputting....now there's a tricky one. Thank you all again, very much.
Create an account or sign in to comment