• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

1stplugins

FileMaker plug-ins and Reverse Engineering

  • Plugins
    • MediaManager
  • Services
    • Reverse Engineering
    • FileMaker Plug-Ins
  • About
    • About Us
    • Contact Us
    • Terms of Use of the Website and Privacy Policy
  • Store
    • Terms and Conditions
    • Warranty Claim Guidelines
    • Contract Withdrawal Form
    • Warranty Claim Report

Media_InsertQuickTime

Media_InsertQuickTime ( path )

Media_InsertQuickTime inserts a sound file or other QuickTime element into a container field.

Parameter Description
Result An optional target field to receive any error. Will be left empty when there is no error.
path the file path or URL for the sound or QuickTime file to be inserted

You can also use a Web URL for the path. In that case, the file is downloaded and a reference to it is returned.

Inserting Remote Sound Files

MediaManager uses a workaround that sidesteps a bug in QuickTime on Windows that causes a FileMaker Pro crash when inserting sound files from a remote volume.

See the Media_Set function for more information on controlling the workaround and its warning dialog.

Remote File Warning Dialog

The first time (after launching FileMaker Pro) that you call Media_InsertQuickTime to insert a sound file from a remote volume, the following dialog will be displayed.

“MediaManager’s Media_InsertQuicktime is about to us a workaround for a bug in QuickTime while accessing remote media. This workaround may cause the FileMaker script to fail. Please see the documentation for Media_InsertQuickTime for complete information.”

You can use the Media_Set function if you wish to prevent the dialog from appearing.

Examples

To insert a sound file named “flute.wav” located in the default folder:

Set Field [ MyTable::Container ;
Media_InsertQuickTime ( "flute.wav" ) ]

To insert “drums.m4a” located on the desktop:

Set Field [ MyTable::Container ;
Media_InsertQuickTime (".D/drums.m4a") ]

To allow users to select a sound file to be inserted:

Set Field [ MyTable::FileName ;
Media_SetDefaultFolder (
".U:Select a sound file"
) ]

Set Field [ MyTable::Container ;
Media_InsertQuickTime (
MyTable::FileName
) ]

To make the inserted sound reference stable (so it won’t be lost on shut down) by converting and outputting it as a WAV file:

Set Field [ MyTable::FileName ;
Media_SetDefaultFolder (
".U:Select a sound file"
) ]

Set Field [ MyTable::Sound Original ;
Media_InsertQuickTime (
MyTable::FileName
) ]

Set Field [ MyTable::Sound Converted ;
Media_ConvertSound (
MyTable::Sound Original ;
"soundConverted.wav" ;
"57415645" ;
MyTable::WAV Settings
) ]

Primary Sidebar

Document Functions

Media_CopyItem
Media_CreateAlias
Media_CreateFolder
Media_DeleteItem
Media_ExportField
Media_ExtractInfo
Media_GetDefaultFolder
Media_GetItemInfo
Media_GetName
Media_GetPath
Media_InsertFile
Media_ListDisks
Media_ListFolder
Media_MoveItem
Media_OpenItem
Media_RenameItem
Media_SetDefaultFolder

General and Registration Functions

Media_Get
Media_GetLastError
Media_GetMouseUp
Media_JSONPath
Media_Register
Media_RegisterLicensedEncoder
Media_Set
Media_Version

Image Functions

Media_TApply
Media_TClear
Media_TCrop
Media_TQuad
Media_TResize
Media_TRotate
Media_TScale
Media_TSkew
Media_EffectApply
Media_EffectDialog
Media_ConvertImage
Media_GetImageInfo
Media_GetMetadata
Media_InsertImage
Media_ListImageOutputTypes
Media_SetImageDefaults

Script Steps

Copy Item
Create Alias
Create Folder
Delete Item
Export Field
Get Default Folder
Get Item Property
Move Item
Open Item
Rename Item
Set Default Folder

Sound Functions

Media_Amplify
Media_AppendSound
Media_ConvertSound
Media_CreateSound
Media_DrawWaveform
Media_ExtractSound
Media_FadeSound
Media_GetMetadata
Media_GetSoundInfo
Media_InsertQuickTime
Media_ListSoundOutputFormats
Media_MixSounds
Media_Normalize
Media_PlayPause
Media_PlaySound
Media_RecordSoundFormatDialog
Media_RecordSoundStart
Media_RecordSoundPause
Media_RecordSoundStop
Media_SetMetadata
Media_SoundFormatDialog
Media_StopSound

Video Functions

Media_GetVideoInfo

Footer

Let’s get started on your project.

Get in touch

  • Plugins
  • Services
  • About
  • Store

Copyright ©2006-2020 by 1stplugins, s.r.o. All rights reserved.