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

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

Recommended Posts

Posted

Ive posted this as an example before however was fmp7 file, below is the process for those not using fmp7. I dont know wether you can do the same though.

There is a way to open embedded container files via a script.

1. Set up a calculation field that obtains the file name oembedded in the container. (Text field = container field)

2.Set up a text field with a calc as follows

"REN" & " " & "C:temp.txt" & " " & "C:"& the file name field (see above)

Complicated bit.

Create a script that

Omits Record

Show Omitted Only

Export Field (the container field) to c:temp.txt

Export Record to a text file called c:rename.bat using the above calc field.

(This will create a batch file that renames the file to the file name in container.)

Continue with script step.

Send event fIle c:rename.bat

This opens the file that was stored in the container

voila.

This will not open files with soaces in their name, you can use a string calc to elimante spaces on the field name first if you need that.

Works with ALL file types

enjoy

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.