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.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1    Statistic  


Returns the global idle time in seconds.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
SystemInfo 3.3 Yes Yes No No No
MBS( "SystemInfo.IdleTime" )   More

(old name: SystemInfo.MacGlobalIdleTime)




Returns value or error.


Returns the global idle time in seconds.
This time comes from HID system and informs you how long no mouse or keyboard has been used.
You can check this regularly in a timer script and do things like an auto logout.

If you use EventMonitor.Install function, this function may be better with remote control.
With remote controlled PC, the local mouse and keyboard devices are not used, so the HID idle time is high. But with event monitor we see events from user and can reset idle counter.


Shows idle time:

Pause/Resume Script [Duration (seconds): 2]
Show Custom Dialog ["Info"; MBS( "SystemInfo.IdleTime" )]

See also

Blog Entries

Created 18th August 2014, last changed 19th March 2017

SystemInfo.HostName   -   SystemInfo.Is64bitWindows

Feedback: Report problem or ask question.

MBS FileMaker blog