XModules

XModules is a collection of AppleScript library. An AppleScript library is just a script bundle which can be loaded as a script object using "load script" commnad.

To load modules, using ModuleLoader is remommended. See ModuleLoader's manual about benefits and usage of ModuleLoader. ModuleLoader can resolve locations of modules and can load dpended modules hierarchically.

All of modules have manuals in own bundles as Help Books. To display the manual, install HelpBook.osax and run the module from Script Menu. The refeneces of modules in HelpBooks are generated by AppleScriptDoc.

Getting Started

XModulesCore

A starter kit of AppleScript library "XModules".

ModuleLoader

Yet another modern library system for AppleScript. Included in XModulesCore.

HelpBook.osax

Open Module's manula in HelpViewer. Included in XModulesCore.

AppleScriptDoc

A document generator for AppleScript libraries.

Data Collection

XList

A wrapper object to treat AppleScript's list as iterator, stack and queue.

XDict

An associative list type data collection.

Text Manipulation

XText

Object oriented interface to manipulate text and some advanced features.

XCharacterSet

Objects representing character sets.

Miscellaneous

XAccessor

Access properties of script object or record and global variable with specifing its name with a text.

XHandler

Execute a handler with specifying its name with a text.

SortEngine

Sort routines of the quick sort and the bubble sort algorithm.

File Manipulation

PathInfo

Object oriented file references.

XFile

Object oriented file refereces and file operation (moving, removing, geting attributes and so on).

PathConverter

Convet a path form between a relative path and an absolute path.

Application Scripting

FileSorter

Sort a list of files of folders according to their view sorting order in the Finder.

InsertionLocator

Obtain insertion/selected location in Finder with smarter way than Finder does.

FrontAccess

Obtain information for application process and its frontmost document using GUI Scripting

GUIScriptingChecker

Check availability of "GUI Scripting".

Deprecated Modules