Jump to content

opening external files that filemaker doesn't natively support


bradells

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

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 2 weeks later...
  • 11 months later...

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

Link to comment
Share on other sites

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