workflow-osx: a "Desktop Workflow" monad with Objective-C bindings
[ accessibility, apple, automation, bindings, desktop, ffi-, gpl, library, program ]
[ Propose Tags ]
[ Report a vulnerability ]
a "Desktop Workflow" monad with Objective-C bindings.
includes bindings to:
press keys with modifiers
get/set the clipboard
launch/focus applications
get the name of the current application
open URLs
for example:
-- | cut the currently highlighted region cut :: (MonadWorkflow m) => m String cut = do sendKeyChord [CommandModifier] XKey delay 250 getClipboard
-- | transform the currently highlighted region, via the clipboard transformClipboard :: (MonadWorkflow m) => (String -> String) -> m () transformClipboard f = do contents <- cut setClipboard (f contents) sendKeyChord [CommandModifier] VKey
see Workflow.OSX
for several more examples
(if hackage won't build the docs, see them at http://sboosali.github.io/documentation/workflow-osx/index.html)
(this package is on hackage for convenience, but it's still a prerelease)
[Skip to Readme]
Modules
- Workflow
- Workflow.OSX
- Workflow.OSX.Bindings
- Workflow.OSX.Bindings.Raw
- Workflow.OSX.Constants
- Workflow.OSX.DSL
- Workflow.OSX.Example
- Workflow.OSX.Execute
- Workflow.OSX.Extra
- Workflow.OSX.Marshall
- Workflow.OSX.Types
- Workflow.OSX.Bindings
- Workflow.OSX
Downloads
- workflow-osx-0.0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.0.0, 0.0.1 |
---|---|
Dependencies | base (>=4.8 && <4.9), bv (>=0.3 && <0.4), bytestring (>=0.10 && <0.11), exceptions (>=0.8 && <0.9), filepath (>=1.4 && <1.5), free (>=4.12 && <4.13), http-types (>=0.8 && <0.9), mtl (>=2.2 && <2.3), transformers (>=0.4.2 && <0.4.3), workflow-osx (==0.0.1) [details] |
Tested with | ghc ==7.10.1 |
License | GPL-3.0-only |
Copyright | Copyright (C) 2015 Spiros M. Boosalis |
Author | Spiros Boosalis |
Maintainer | samboosalis@gmail.com |
Category | Accessibility, Apple, Automation, Bindings, Desktop, FFI |
Home page | https://github.com/sboosali/workflow-osx#readme |
Bug tracker | https://github.com/sboosali/workflow-osx/issues |
Source repo | head: git clone https://github.com/sboosali/workflow-osx |
Uploaded | by sboo at 2015-10-11T02:47:38Z |
Distributions | |
Executables | example |
Downloads | 1490 total (9 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] All reported builds failed as of 2016-12-01 [all 4 reports] |