A module system for AppleScript
Objective-C C AppleScript R C++
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
AEUtils @ 8c16136
AppleEventExtra @ 4e4af18
English.lproj
ModuleLoader.xcodeproj
ModuleLoaderTest
TXFile
TXRegularExpression @ f8bd1e8
.gitignore
.gitmodules
BAGenericObject.h
ConsoleLog.applescript
DummyDIctionary-Info.plist
EventHandlers.h
EventHandlers.m
ExtractDependencies.h
ExtractDependencies.m
ExtractDependenciesASObjC.m
FastList.applescript
Info_10_5.plist
Info_10_6.plist
LocalLoader.applescript
ModuleCache.applescript
ModuleCondition.c
ModuleCondition.h
ModuleInfo.applescript
ModuleLoader.r
ModuleLoader.sdef
ModuleLoaderConstants.h
ModuleLoaderTestApp-Info.plist
ModuleLoader_Prefix.pch
ModuleRef.c
ModuleRef.h
PropertyAccessor.applescript
README.md
VersionCondition.c
VersionCondition.h
findModule.h
findModule.m
findModuleMain.c
loader.applescript
main.c
sample.scpt
version.plist

README.md

ModuleLoader

ModuleLoader is a system for managing and loading libraries(modules) of AppleScript.

In OS X 10.9, built-in support of libraries was introduced to AppleScript, which called as "AppleScript Libraries". ModuleLoader is a yet another library system, which has been developed from 2006 before release of OS X 10.9, and has been maintained without interruption until now.

ModuleLoader have a similar function to "AppleScript Libraries" as follows.

  • Find a library from predefined locations and load the library as a script object.
  • Libraries are searched from following sub-folders under user's home directory and the root directory.
    • Library/Scripts/Modules
    • Library/Script Libraries
  • Sub-libraries required by the loaded library are automatically loaded.
  • The version of a library to be loaded can be specified.

Usage

English :

Japanese :

Building

Reqirements :

  • Mac OS X 10.7 or later.
  • Xcode 6.3 or later.

Licence

Copyright © 2006-2016 Tetsuro Kurita Licensed under the GPL license.