Fast, reliable and compact handlers to use directly in your own scripts. Unless otherwise noted, they should work under any version of AppleScript. Most of them are small and highly generalised. I write more complex functions using these as building blocks.
To use them, just select and copy as required. The lines may wrap, but they should compile OK when copied out of most modern browsers. Be aware that Safari (still, at V1.2) tends to do exceedingly stupid things with spaces, so you will be much better off using another browser to copy handlers. Most other browsers seem fine in this regard. Turn off stylesheets in older browsers if neccessary to copy the handlers out and compile them directly.
If you are not sure how to use handlers, check this page for an introduction, an example of putting inline code into a handler and tips on how to call them. Please also read my Terms & Conditions before using these.
Many of these handlers (and more) are available as a free library called baseLib. There is a brief introduction to it here and the docs can be found here.
The FooDoo Lounge is Copyright © Richard Morton 2002-2005
|| url: http://www.foodoo.sunreal.com.au/code/index.html
|| created: 27-May-04, 11:43 AM; updated: 21-Jan-05, 1:45 PM
|| size: 13951 bytes