Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides
New in version: 6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3    Statistic  


Queries media file in word file.

Component: WordFile
Version: 6.3
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: Yes

MBS( "WordFile.GetMediaFile"; WordFile; Name )


Parameter Description Example value
WordFile The reference number of the open word file. $wordFile
Name The name of the item to query. "image1.jpeg"


Returns container value or error.


Queries media file in word file.
Returns the images, so you can put them into a container.


Extract image from word file:

Set Variable [$w; Value:MBS( "WordFile.OpenContainer"; WordTest::wordfile )]
Set Variable [$r; Value:MBS( "WordFile.GetMediaFile"; $w; "image1.jpeg")]
Set Field [WordTest::image; $r]
Set Variable [$r; Value:MBS( "WordFile.Release"; $w)]

See also

WordFile.DuplicateTableRow   -   WordFile.GetXML

Feedback: Report problem or ask question.

MBS FileMaker Plugins