Jump to content

IMport a movie reference from a field with the movie path

Recommended Posts

IN my db I have the following fields



VIDEO A Container file where I would like to see the "file://Data/Videos/MVI_9887.MOV"

In the DB I have several different records how can I create a SCRIPT AS SUCH


OPEN file://Data/Videos/MVI_9887.MOV

I Don't want to keep the video file in the db but only look at it when needed

The various INSERT QUICKTIME, URL and so on require me to set the actual file path for each MOVIE file and this is time consuming as I have more than 1200 records, therefore 1200 movie path to insert

Anu help?

Thanks a lot

Edited by dkey

Share this post

Link to post
Share on other sites

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

  • Similar Content

    • By troi
      Updated file management plug-in for FileMaker Pro 16 adds new ResolveAlias function and gets metadata from movies

      Alphen aan den Rijn, the Netherlands, February 20, 2018–Troi today announced the immediate availability of Troi File Plug-in 9.1 for FileMaker Pro 16. With added functionality for getting metadata from movie files, this plug-in becomes an even more indispensable tool for any company managing their image and movie files with the help of a FileMaker database.

      What is new in version 9.1?

      Version 9.1 adds the following new functionality for movie metadata:

      - Added new functionality to the TrFile_GetMetaData function: when using the switch "-GetMovieMetadata" the plug-in now returns all metadata embedded in QuickTime movies (with extension .mov) and all variants of MP4 movies. This returns a list of metadata in the movie, returning for example Artist, Creation date and Description.
      - Added new functionality to the TrFile_GetMetaData function: when using the switch "-GetMovieGPS" the plug-in now returns the GPS location data of the movie. With an extra -Format switch you can specify how the location is returned.
      - Added new switch "-GetMovieCreationDate" to the TrFile_GetMetaData function: when using this switch the plug-in returns the creation date (including time + timezone) of the movie (if present as metadata).
      - Added new functionality to the TrFile_GetMetaData function: when using the switch "-GetXMP" the plug-in now can read embedded XMP metadata in movies. The plug-in supports reading XMP metadata for QuickTime movies (with extension .mov) and all variants of MP4 movies.

      Troi File Plug-in 9.1 also has the following new functionality:

      - Added new TrFile_ResolveAlias function, which will resolve an alias file (on macOS) or shortcut (on Windows). It returns the path to the destination of the alias file. If the alias is broken you can use the switch "-ReturnLastKnownPath" to get the last path the alias pointed to.
      - Added extra switch "-AddAliasInfo" to the TrFile_GetTypeOfItem function. If an item is an alias file (or shortcut on Windows) the result will be "file (alias)".
      - You can now add the "-DontResolveAlias" switch to the TrFile_SelectFileDialog function. When you select an alias/shortcut the result is the path to the alias itself (and not the destination path where the alias points to).
      - (Windows) Added code signing to the plug-in for Windows. (On macOS code signing was already added in version 8.0).
      - Added new switch "-SourceUTF8CharSet" to the TrFile_GetMetadata function, to be used with the switch "-GetIPTC". The IPTC metadata of the source image file will be forced to be read as UTF-8 encoded.

      Apart from these additions we fixed some possible problems in the Substitute and the GetFolderSize functions and we improved the working of the Substitute, SetMetadata and InsertContents functions on macOS 10.13 (High Sierra). More detailed information on all changes and improvements implemented in Troi File Plug-in 9.1 and earlier can be found at https://www.troi.com/products/fileplugin/

      Pricing & Availability

      A fully functional demo version of Troi File Plug-in 9.1 is available for downloading at https://www.troi.com/products/fileplugin/ 
      Licenses cost US$ 99 per user. Details on developer licenses and multi-user discounts can be found on our web site. You can order licenses from our web site.

      Upgrading to version 9.1 is free and recommended for all users of version 9.0: version 9.1 works with the same registration as the 9.0 version. Users who bought a license for Troi File Plug-in on or after May 10, 2016 are entitled to a free upgrade to version 9.1. Eligible users have been sent a new 9.0 registration. Contact us if you have not received yours.

      Upgrades from licenses bought before May 10, 2016, are available from US$ 59 per user. Upgrade prices for other licenses can be found on our web site. You can order upgrades from our web site.
    • By kolvorok
      I'd get some problems with date formats after installing FMS 15, and I'm trying to solve it by importing to a clone of the original database. But two tables has no layouts and I can't find a way to import these tables without making a layout in the clone or adding a table when importing. The last seems to be the simplest, but how will the relationships behave?
    • By Jeff M
      I've done quite a bit with FileMaker in the past, but have never jumped into the XML arena. Now I have a need to do so, and I'm really needing some help with something I'm sure is quite basic...but still foreign to me. I have an external data source which export XML in a very specific format (see attached). I need to import that into FileMaker so I can manipulate the data, do some various lookups, etc. Once I've made my changes in the data, I need to export in the exact format it was when imported so the external data source can properly import.
      Not sure if it makes sense to import into 2 tables (workflows, workflow steps) or just a single table. I'm open either way. Once the data is in FileMaker I can get all my calculations and lookups and scripts going and make the data what I need it to be, but then I'll need to export it.
      Can someone point me in the right direction?
      Thanks so much in advance!
    • By 123
      I have a Tab-Separated Text File which I want to import to a database that I just created in FileMaker Pro 15. The text file essentially is a log of events, for instance, one line describes an order, another line describes a payment that has been made. The problem is that I somehow need to import all these lines into different tables. I want all lines in the log file that describe a payment in a table called Payments, and all lines that describe an order in a table called Orders for example.
      I'm just starting out with FileMaker so forgive me if there is an obvious solution that I'm not aware of. I have a background in software development, so the only solution that I can think of is writing a small program myself that does all the parsing for me and creates separate text files that contain all the orders and payments and other events that have been logged in the file. Then I could simply import each file into the table I need all the data in. 
      So to sum everything up, my main question is if there is a way to somehow parse the text file before importing it. I know that you can create custom scripts in FileMaker but I'm not sure if what I need to do can be done just with that.
      Thanks in advance,
    • By Peter Barfield
      Not sure if this is the relevant area however, I couldn't seem to find a scripting section
      What I would like to do and I have had no success so far is the following scenario.
      I have database which stores references to files in container field located on a folder on a shared computer.
      What I want to do is have a script which when run populates the database with the names of those files located in the folders on the computer and create a new record for those not already present and if they are already present ignore the import.
      I have tried a test script which gets the documents path and loops through each record however I get file unknown when debugging and that is as far as it goes.
      The script in no one handles the above scenario of omitting and inserting only new docs it was just a test to see if it was possible to import via this method. From what I can see the script is asking for a particular filename and if it can't be found it throws the error. That though is no good as essentially the filename is in a sense unknown at the time of import and that is what the purpose of the script would be i.e. too find those files and create a new record with reference only in a container.
      Documentation on this is either non existent or sparse and confusing to say the least (or at least that's how I find it)
      Any enlightenment would be appreciated.

Important Information

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