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

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

Recommended Posts

Posted

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?

confused.gif

Posted

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

Posted

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.

Posted

Open the file by externally calling a script.

Have you used opener files before?

Posted

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.

Posted

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.....

Posted

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.

Posted

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.

Posted

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.

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