Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.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 No Yes, macOS only No No

MBS( "URLScheme.GetDefaultHandler"; scheme )

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


UNNotification.UserInfoValue   -   URLScheme.InstallURLEventHandler

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins