XModules

XModules is a collection of AppleScript library. XModules is a Class Library not just a collection of handlers.

An AppleScript library is just a script bundle which can be loaded as a script object using :

To load libraries :

All of libraries have manuals in own bundles as Help Books. To display the manual, install HelpBook.osax and run the library from Script Menu. The refeneces of libraries 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.

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".

Miscellaneous

XActivate

Activate an application process bringing only one window forwad.

XPreferences

Help saving and loading settings(preferences) of AppleScript applications

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.

Deprecated Modules