• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[ANN] ModuleLoader 2.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ANN] ModuleLoader 2.2


  • Subject: [ANN] ModuleLoader 2.2
  • From: Tetsuro KURITA <email@hidden>
  • Date: Wed, 26 May 2010 01:47:14 +0900

ModuleLoader is a module loading system for AppleScript. It allows you to load scripts as modules with specifying only their names.

http://homepage.mac.com/tkurita/scriptfactory/en/XModules/index.html#ModuleLoader

The standard way to load modules/libraries of AppleScript is "load script" command. The problem of the command is that you must pass a full path of a module. You must manage everything for modules by hand.

ModuleLoader introduces a modern module system for AppleScript. You can
load and manage modules with minimum efforts like other scripting language
(e.g. Perl, Ruby).

Some examples :

== A top level script

property Module1 : module
property loader : boot (module loader) for me

== A module which depends on other modules.

property Module2 : module

The "module" command in the property definition mark the property as a place
where a module is loaded into. "boot (module loader) for me" statement cause
actual loading modules and set the modules to the specified properties.

I believe ModuleLoader could be the best solution for a module loading system
of AppleScript. Please check details of ModuleLoader with the manual.

I welcome any comments, suggestions and questions, even if it's negative.

=======================================================
Tetsuro KURITA
E-mail: email@hidden
http://homepage.mac.com/tkurita/scriptfactory/en/
=======================================================

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: Identity a hidden column in Numbers
  • Next by Date: (no subject)
  • Previous by thread: Re: Identity a hidden column in Numbers
  • Next by thread: (no subject)
  • Index(es):
    • Date
    • Thread