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

opening external files that filemaker doesn't natively support


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

Recommended Posts

Posted

creating a small solution to open various video files (non Quicktime compatable) with VLC.

With a normal (dos) command line:

vlc.exe filename

opens the file automatically in vlc.

Using the Open URL in a script, I can get it to open VLC (vlc.exe) but not the file (by itself (like a text file), or using the vlc.exe filename)

Any thoughts?

Posted

don't use the Open URL but the Send Event script step.

Construct the command to be like this:

cmd /c vlc.exe yourfile.ext

If you uncheck the tick box on the Send Event that says "bring taget applicatin to the foreground" then the user will see only the tiniest flash in the taskbar as the cmd is executed.

Posted

Awesome, I did try that earlier and found that it wouldn't work properly. It was giving me an error of The File "filename up until space" could not be found ..... Since Windows can support filenames/paths with spaces in them, and Send Event can't.

My workaround was to make a one lined batch file as follows:

"C:Program FilesVideoLANVLCvlc.exe" %~f1

This opens up the VLC viewer, and passes on the filename parameter set by the Send Event command set as a calculation to "vlc.bat " & $path where vlc.bat is my created batch file, and $path is the filename of the video I want to open

  • 2 weeks later...
Posted

When using command lines you need to enclose the file names and paths that have spaces in them with quotes.

cmd /c vlc.exe "c:some folder with spacesfile with spaces.ext"

  • 11 months later...
Posted

I am interested in using VLC because I am using MP2 files and when opened with the default FMP function the audio does not come out.

When using VLC both the audio and the video are coming out.

My question is this, in using any of the proposed solution in this topic would it open a separate windows (outside FMP) or it is possible to have the window to be part of a FMP layout using another video player than QuickTime?

I would really like to have a VLC video solution playing inside a FMP layout.

Thanks!

Daniel

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