Hi, Am 20.07.2011 um 13:44 schrieb amc: > Just tried to set up a text factory, and didn't get what I expected. > The factory is simply set to > > Tidy:Clean (discard empty paragraphs) > Change Line Endings (to Windows) > > What I got was HTML output, with my text turned into Body text. I > presumed I would get plain text, transformed. > > I also expected to be able to save the file to another location. The > "Save" button simply saved my existed file as HTML, with no options > for alternative locations. > > Do I have a flawed understanding of text factories, or is this a > glitch? No, you understood it right. But Tidy is a special HTML clean-up tool that is meant to correct HTML files. Instead of this step use a "Replace All" action and replace (^\s*$)+ with nothing (make sure "Use grep" is activated).
> Lastly, can a text factory be made to run on any open document - that > is, I want to make this conversion a one-step hotkey process, and so > want it to run on the front-most Bedit file automatically, without > having to select a specific file. Is that possible? Yes. If I understood the release notes of BBEdit 10 right, all you have to do is to save the textfactory in the "Text Filters" subfolder in your Support folder (usually located at ~/Library/Application Support/BBEdit/). Windows > Palettes > Text Filters gives you a little window to access those filters. It also has a little button to at a keyboard shortcut. -Roland > > > -- > 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> -- 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>
