Shell

external interface Shell

Functions

beep
Link copied to clipboard
js
abstract fun beep()
moveItemToTrash
Link copied to clipboard
js
abstract fun moveItemToTrash(fullPath: String, deleteOnFail: Boolean = definedExternally): Boolean
openExternal
Link copied to clipboard
js
abstract fun openExternal(url: String, options: OpenExternalOptions = definedExternally): <ERROR CLASS><Unit>
openItem
Link copied to clipboard
js
abstract fun openItem(fullPath: String): Boolean
readShortcutLink
Link copied to clipboard
js
abstract fun readShortcutLink(shortcutPath: String): ShortcutDetails
showItemInFolder
Link copied to clipboard
js
abstract fun showItemInFolder(fullPath: String)
writeShortcutLink
Link copied to clipboard
js
abstract fun writeShortcutLink(shortcutPath: String, options: ShortcutDetails): Boolean
abstract fun writeShortcutLink(shortcutPath: String, operation: String, options: ShortcutDetails): Boolean