UI & Feedback
showToast
showToast
Show toast notifications with actions
- Press
⌘Tto show toast actions menu - Actions can have keyboard shortcuts
- Toasts auto-dismiss after 3s (6s with actions)
- Only one toast shown at a time
showHUD
showHUD
Show HUD overlay message
confirmAlert
confirmAlert
Show confirmation dialog
Navigation & Window Management
closeMainWindow
closeMainWindow
Close the main window
popToRoot
popToRoot
Navigate back to root view
clearSearchBar
clearSearchBar
Clear the search bar text
System Integration
open
open
Open URLs, files, or applications
getApplications
getApplications
Get list of installed applications
getDefaultApplication
getDefaultApplication
Get default application for a file
getFrontmostApplication
getFrontmostApplication
Get the currently active application
showInFinder
showInFinder
Reveal file/folder in Finder
trash
trash
Move files to trash
getSelectedText
getSelectedText
Get currently selected text from active app
getSelectedFinderItems
getSelectedFinderItems
Get selected files in Finder
Extension Management
launchCommand
launchCommand
Launch another command
openExtensionPreferences
openExtensionPreferences
Open extension preferences
openCommandPreferences
openCommandPreferences
Open command preferences
updateCommandMetadata
updateCommandMetadata
Update command metadata dynamically
getPreferenceValues
getPreferenceValues
Get extension preferences
Error Handling
captureException
captureException
Log exceptions for debugging