Jump to content

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

Recommended Posts

Posted

Uses Batch file so possibly windows only, attached file is fmp7.

NO PLUGIN REQUIRED!

1. Filename obtained from embedded file via calc on the container.

2. Push Open button runs a script that-

Exports file using a generic name, a batch scipt file is created and then run that changes file to original filename. File is then opened via an open url script.

1 Button, no user input.

WARNING- one downside is that it will not open files that have a space in their filename.

INPUT on this would be good if there is a work around.

opencontainer.zip

Posted

I have not checked your example file as I am wary to open attachments. However, if your file is embedded as a reference in a container then the container should show the file as an icon. Double-clicking on the icon opens the file in its associated application.

Posted

Referenced and embedded are different, referenced is where filemaker places a shortcut inside the container field and the actualfile is located elsewhere.

embedded is where the file is held within the database itself, these files can not be double clicked on to open they need to be exported, this requires a lot of user input and difficult to script without having a plugin.

the above is a work around for this.

ps zip file only contains 1 file that is an fmp7 file. virus check it to confirm :-)

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