Hi,
> A quick thought: How hard would it be to create special notation
> for accessing the ._types and ._constants objects? I was thinking
> of a double underscore prefix for _types and the special "$"
> character (which Mozilla JavaScript allows) for _constants:
>
> with ( MacOS.finder() ) {
>
> _display_dialog( "...", { with_icon : _constants.stop } );
> _display_dialog( "...", { with_icon : $stop } );
>
> _path_to( _constants.application_support, { 'from' :
> _constants.user_domain, 'as' : _types.alias } );
> _path_to( $application_support, { 'from' : $user_domain, 'as' : __alias
> } );
>
> make( _types.folder );
> make( __folder );
> }
Okay, I'll look into something like this. Thanks also for the proposed
code. I've filed it all in my bug tracking system that that I can integrate
it when the time comes for the next JSOSA release.
Cheers
-Mark
------------------------------------------------------------------------
Mark Alldritt Late Night Software Ltd.
Phone: 250-380-1725 Script Debugger 4.0 - AppleScript IDE
WEB: http://www.latenightsw.com/ FaceSpan 4.3 - AppleScript RAD
Affrus 1.0 - Perl Debugging