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  

URLScheme.GetDefaultHandler

Queries the default scheme handler for the given scheme name.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
URLScheme 3.0 Yes Yes Yes No No
MBS( "URLScheme.GetDefaultHandler"; scheme )   More

Parameters

Parameter Description Example value
scheme The schema name. "http", "https", "mailto" or something else

Result

Returns handler.

Description

Queries the default scheme handler for the given scheme name.
On Mac returns the bundle id. e.g. com.fetchsoftworks.Fetch for Fetch.app.
On Windows returns command line for launching target app. e.g. '"C:\Program Files\Internet Explorer\iexplore.exe" %1'

Examples

Query default email application:

MBS("URLScheme.GetDefaultHandler"; "mailto")

See also

Example Databases

Created 18th August 2014, last changed 22nd October 2018


UNNotification.UserInfoValue   -   URLScheme.InstallURLEventHandler

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins