All functions   Mac OS X   Windows   Crossplatform   Components   New in version: 1.0   1.1   1.2   1.3   1.4   1.5   1.6   1.7   1.8   2.0  

InstallURLEventHandler

Component: URLSchema
Mac OS X: Works
Windows: Does nothing

MBS( "InstallURLEventHandler"; FileName; ScriptName )

Parameters

Parameter Description Example value
FileName The name of the FileMaker File that contains the script
ScriptName The name of the script to run

Result

Returns OK or an error message.

Description

Installs an event handler for the URL event and calls the script you specify with the URL as parameter.
Using this event you can register your application as the handler for an URL schema and get the URL if the user clicks a link for your schemas.
This function is only useful in a locked Filemaker solution. Please check the Readme in the examples for more details.

Examples

MBS("InstallURLEventHandler"; "MyDatabase.fp7"; "MyURLScript")

Feedback: Report problem or ask question.