Re: Libraries and effiency
Re: Libraries and effiency
>> For me, I find it easier to debug and maintain single flat scripts.
>
> In my experience, such development style causes to limit size and functions of your script.
I don't know, I have some pretty big scripts.
>> Another issue is that none of the library loading systems I've looked at are intuitive or transparent. I know that's not important to everyone but it is to me.
>
> Could you evaluate "ModuleLoader".
> http://homepage.mac.com/tkurita/scriptfactory/en/XModules/index.html#ModuleLoader
>
> I am interested in improving this system to be easy and comfortable.
OK, first your web page asks for volunteers to help with the English documentation. I'll contact you off list.
>
> You may not interested in development of such big application.
> But I hope you understand the library/module loading system can expand limitation of the development.
I several very large complex workflow scripts and systems that, as I said, could probably benefit from using a module loader.
Here's one example. My users work with large Indesign tables. I have several scripts that detect which cell the user has selected, from that cell the script determines which record in a database to access, then extracts data from fields, combines data in several ways to give the user a choice of options, then replaces the styled text in the cell with new, styled text based on the user's selection.
There are probably a dozen scripts in the ID palette that the user can call, most of them share a number of handlers that are copied and pasted into single flat file.
Since this is a user interaction script it has to be fast.
I'll try "ModuleLoader" on this system and see if it makes it easier to maintain and debug the scripts and see what effect it has on speed.
ES _______________________________________________
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