Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  

RichText.ReadURL

Reads a text file from an URL.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
RichText 3.0 Yes No Yes, macOS only No Yes
MBS( "RichText.ReadURL"; URL )   More

Parameters

Parameter Description Example value
URL The URL to the text file. $URL

Result

Returns OK or error message.

Description

Reads a text file from an URL.
The plugin uses Mac system functions to read text files including plain text files, RTF files, Word files in doc or xml format, webkit archives or OpenOffice documents.

Warning: The plugin can only read/write the styles/formats which Apple supports for their cocoa framework.

Examples

Read formatted text from container field:

$r = MBS( "RichText.ReadURL"; "file:///Users/Desktop/test.txt" )
$text = MBS( "RichText.FormattedText" )

See also

Example Databases

Created 18th August 2014, last changed 14th August 2017


RichText.ReadText   -   RichText.ReadWebviewer

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins