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  

App.RequestUserAttention

Starts a user attention request.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
App 6.1 Yes No No No No

MBS( "App.RequestUserAttention" { ; Critical } )

Parameters

Parameter Description Example value
Critical Optional
Pass 1 if critical or 0 if informative.
0

Result

Returns number or error.

Description

Starts a user attention request.
Returns the identifier for the request. You can use this value to cancel the request later using the App.CancelUserAttentionRequest method.
Activating the app cancels the user attention request. A spoken notification will occur if spoken notifications are enabled. Sending App.RequestUserAttention to an app that is already active has no effect.
If the inactive app presents a modal panel, this method will be invoked with critical = 1 automatically. The modal panel is not brought to the front for an inactive app.

This method is a way to have the dock icon jumping.

Examples

Request attention:

Set Variable [$r; Value:MBS( "App.RequestUserAttention"; 1 )]

See also

Example Databases


App.OpenFile   -   App.SetDockBadgeLabel

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins