That script step is intended to select content or run something (like a video). These are executed within the container field, not by opening the container data file elsewhere. What are you trying to make happen, with what type of container data?
This method works with containers that:
- does not display the content
- does not have the data stored externally (must be stored as reference only)
So you can open any type of document: Microsoft. Pdf. Even executable files
but the problem is that I can not know if the file is opened or not.
in other word , if the file is not opened (like in the conditions listed above), i must take another action
I just solved my issue
Needed a little bit of logic. But this is the problem of working at the end of the night
I will set a text field during the file insertion that identifies the type of insertion and on which i will hase my future scripts (like when i want to reopen my file)
I wonder if this might be related to your solution and might be helpful:
new with FMP13(?) is the
GetContainerAttribute ( Table::Field; "all" )
There are several different attribute like "all" and "externalFiles" for file-path
It will be possible to extract any data you want.