Skip to main content

Module MoveItemToTrash

Expand description

Wire method: nativeHost:moveItemToTrash. Routes deletions to the OS trash bin so they are recoverable. macOS uses Finder via osascript; Linux prefers gio trash then trash; Windows uses PowerShell Shell.Application. Returns true on success.

Functionsยง

NativeMoveItemToTrash