Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- currentApplication :: IO Application
- currentApplicationPath :: IO String
- pressKey :: [Modifier] -> Key -> IO ()
- getClipboard :: IO ClipboardText
- setClipboard :: ClipboardText -> IO ()
- openURL :: URL -> IO ()
- openApplication :: Application -> IO ()
Documentation
currentApplicationPath :: IO String
TODO Applications whose name/paths have Unicode characters may or may not marshall correctly.
setClipboard :: ClipboardText -> IO ()
note: unlike the keyboard shortcuts of copy
,
contents don't show up in Alfred's clipboard history.
openApplication :: Application -> IO ()