Skip to content

FrankC01/clasew

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#clasew

A Clojure AppleScriptEngine Wrapper

##Intent

clasew provide an idiomatic Clojure wrapper for Java's ScriptManager, specifically AppleScriptManager, and scriptable application DSLs for common usage.

##Architecture 0.3.2 As per the Intent, the clasew architecture is very straight forward.

clasew architecture

###Foundation Consists of the clasew.core namespace. Contains the raw functions for interacting with AppleScript.

###DSLs Consists of clasew.appname namespaces where appname is collection of idiomatic functions specific to a scriptable application.

###Documentation

  1. Change Log
  2. Foundation Introduction - Recommended first read
  3. Generic spreadsheet DSL
  4. Numbers DSL
  5. Excel DSL
  6. Filter DSL - Used by identities and messages
  7. Identities DSL
  8. Messages DSL

##Examples

All files located here

  1. Example 1 - Demonstrates standard 'tell' calls
  2. Example 2 - Demonstrates handlers and argument passing
  3. Example 3 - Demonstrates separate argument bindings
  4. Example 4 - Demonstrates clasew-spreads and clasew-excel DSL
  5. Example 5 - Demonstrates clasew-spreads and clasew-numbers DSL
  6. Quarterly Sales Contrived Snippet - Demonstrates a more realistic use for Excel and/or Numbers
  7. Example 7 - Demonstrates clasew-identities for both MS Outlook and Apple Contacts
  8. Example 9 - Demonstrates clasew-messages for both MS Outlook and Apple Mail

My dev environment:

  • Clojure 1.6
  • El Capitan 10.11.13
  • Oracle Java 1.8.0_71
  • Lighttable 0.8.1

##License

Copyright © Frank V. Castellucci. All rights reserved.

Distributed under the Eclipse Public License (EPL) version 1.0.