Skip to content

TElectronShell

TElectronShell

Below is a list of available methods for TElectronShell. This class allows invoking native functionalities of the operating system. Instead of creating a TElectronShell instance, ElectronShell can be used.

Methods for TElectronShell

Property Description
Beep Method to play the beep sound.
OpenExternal(URL: string): Boolean Function that tries to open an external link. Returns true if it was successful. Max 2081 characters on Windows, or the function returns false.
OpenItem(FullPath: string) Function that tries to open an item on the operating system, using the default application. Returns true if it was successful.
MoveItemToTrash(FullPath: string) Function that tries to move an item to the trash. Returns true if it was successful.
ShowItemInFolder(FullPath: string) Function that tries to show an item in the folder it is located in. Returns true if it was successful.