Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides
New in version: 5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2    Statistic  

FSEvents.UUIDForDevice

Gets the UUID associated with a device.

Component: FSEvents
Version: 6.0
Mac OS X: Yes
Windows: No
Server: Yes
FileMaker Cloud: No

MBS( "FSEvents.UUIDForDevice" )

Parameters

none

Result

Returns UUID or error.

Description

Gets the UUID associated with a device.
Returns empty text if not possible (for example, on read-only device).
A (non-empty) UUID uniquely identifies a given stream of FSEvents. If this (non-empty) UUID is different than one that you stored from a previous run then the event stream is different (for example, because FSEvents were purged, because the disk was erased, or because the event ID counter wrapped around back to zero). An empty return value indicates that "historical" events are not available, i.e., you should not supply a "sinceWhen" value to FSEvents.Create other than "now".
The UUID is returned as 32 hex characters.

Examples

Queries UUID for root:

MBS( "FSEvents.UUIDForDevice"; "/" )

See also


FSEvents.Stop   -   FileDialog.GetAllowMulti

Feedback: Report problem or ask question.




Links
MBS Real Studio Plugins - Nachhilfe in Kruft