Hello group, I'm in the process of updating a script that batch processes files in a BBEdit .bbprojectd Project. While in BBEdit 9 this script worked great, in BBEdit 10 every document remains in an "open" state once it's been processed (and appears in the "Currently Open Documents" list). I'm sure keeping your project files open is useful in most situations, but I need to be able to close a document once it's been modified as I'm talking about batch processing *over five thousand* HTML files.
Unfortunately no form of "close" I've tried in my script will close a document in a project--they still appear open and in the currently open list. What am I missing? Apologies if this has been addressed somewhere; I was unable to turn up any similar issues over a few searches of this group. *set* theProj *to* *project document* 1 *repeat* *with* n *from* 1 *to* (*count* *items* *of* theProj) *set* currentFile *to* *file* *of* *item* n *of* theProj *open* currentFile -- do stuff *save* currentFile *close* currentFile -- doesn't close file in project *end* *repeat* * * -- -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at <http://groups.google.com/group/bbedit?hl=en> If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
