MMNotes.localURLToFilePath()

Description

This function converts the specified file:// URL to a local drive path.

Arguments

fileURL

  • The fileURL argument, which is expressed as a file:// URL, is the path to a local file.

Returns

A string that contains the local drive path for the specified file.

Example

A call to MMNotes.localURLToFilePath('file:///MacintoshHD/images/moon.gif') returns "MacintoshHD:images:moon.gif".