So, better:
Create an "Exported" category and have the script assign the category to each message that is being exported. Keep the color black, and have the script tack this category on to the _end_ of any other categories already assigned so the primary color is not replaced. Then subsequent searches by script look for messages in the folder 'where its category does not contain {category "exported"}'. This would do it in one fell swoop and be much quicker.
--
Paul Berkowitz
MVP MacOffice
Entourage FAQ Page: <http://www.entourage.mvps.org/faq/index.html>
AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>
Thanks, Paul. So far this is just at the conceptual stage, but I’m trying to cover all bases. I really would hate to have to give up Entourage just because of not being able to use Spotlight. On the other hand, I probably wouldn't need to have Spotlight’s instant access to any items other than the ones that I find are important enough to place into a project. In the corresponding project folder I would also have the associated Excel, Word, and PowerPoint files.
Is there anything not do-able by a script in terms of assigning the category “Exported” and then exporting the item (mail, to-do, calendar item, note) to a Finder folder associated with a project? I’ve never tried Perl and I think assigning a category to speed up the search is a useful idea.
But even assigning the category is not needed if you do the following:
- Go to each existing project and export all associated items that are currently in the project. Even done by hand, this should be fairly easy.
- Create the AppleScript so that it only assigns a Project and exports the item. Then there would be no search needed, and items would be added to the desired Finder folder immediately upon their being assigned to a project. This would be a simple Script and would be quick to run. If Scripting in Entourage can handle these two steps.
B-r-u -c-e
