On 13 dec 2008, at 03:35, gshenaut wrote: > I notice that there is a plethora of different ways to filter text > through a pipeline, but I can't find anything that corresponds to the > venerable vi "!" commands: specify some text, hit "!", type in a > pipeline, the selected text is written to the standard input of the > pipeline and the standard output of the pipeline replaces the text. > > I tried making a filter like this (pardon my rudimentary applescript > abilities):
This won't work. BBEdit will not process AppleEvents while it is busy running a shell filter. > I remember reading that you're not supposed to do "fancy GUI stuff" > from those filters, and I'm guessing that putting up a display dialog > is too fancy. That is not the problem, the tell application "BBEdit" part is causing the trouble. > Is there some way to filter text through an ad hoc shell pipeline? It > would really be convenient. Do it all in AppleScript. Maarten --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. 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 specific feature request or would like to report a suspected (or confirmed) problem with the software, please email to "[email protected]" rather than posting to the group. -~----------~----~----~----~------~----~------~--~---
