Re: Library Modules and Library Loaders
Re: Library Modules and Library Loaders
- Subject: Re: Library Modules and Library Loaders
- From: Philip Aker <email@hidden>
- Date: Fri, 3 Sep 2010 06:21:33 -0700
On 2010-09-03, at 02:22:58, Takaaki Naganoya wrote:
>> I looked at the Automator library list. That's a reasonable organization plus it has a search field. But maybe people have other ways they want to keep things organized or have a search result displayed.
> I understand what you mean. But I 'm worried about the cost of categorizing...
What I think Apple is doing a lot of these days is pre-indexing and categorizing information. Quite a bit on background threads. Like the Metadata daemon.
So in our case, I believe that would happen when a script is registered into the library. The downside of pre-indexing is that sometimes the information becomes stale -- like the 'locate' shell command database.
>>> And I have a tiny idea to grant user's request.
>>
>>> To Show the information about the Library, add " --info" string after the parameter.
>>
>> A category called "Notes" is available in ModuleManager (could just as easily be called "Info"). If you compile the example projects you can see where they are added in the text view of the applications. An update version (0.5.1) is here: <http://www.vcn.bc.ca/~philip/mm/ModuleManager.html>. There is an ability to add custom key/value pairs.
> I'll see it in this weekend.
Ok and thanks. I will be putting up version 0.5.2 in about 10 hours from this post. It fixes some problems with running the Cocoa application on 10.5 and bookmark data on 10.6.
[...]
>> I have been thinking about these things because there is a tradeoff between what is calculated at the time a script is registered into a library and what is calculated when a command like the above "library value for key …" is called. If the amount of information stored in the file is smaller, then it loads faster but other information has to be calculated at the time the command is run. Which is more efficient?
> I'll propose the third option. Master web server answer to the request. It is giving up managing Libray info in each machine.
> Master server hold and answer it.
I go to the mountain cabin for the weekend. I have my computer but no internet. What then?
But it is a really interesting idea to submit the libraries to a master sever because then a lot of statistics about what scripts contain can be obtained. And that would be useful to guide the features of a library.
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
Democracy: Two wolves and a sheep voting on lunch.
_______________________________________________
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