[TxMt] can I intercept / overwrite "Show Web Preview"

Roberto Saccon rsaccon at gmail.com
Tue Oct 30 23:50:15 UTC 2007


Brad, thanks. I didn't know about that (It's just the third day I am
using textmate)

On 10/30/07, Brad Miller <bonelake at gmail.com> wrote:
> Roberto,
>
> Maybe I'm not really understanding what you want to do, but  You can
> always write a command for your bundle (with whatever processing you
> want to the file) and then set the key equivalent to ⌃⌥⌘-p.  If
> you set the scope for your command to your language scope then your
> command will take precedence over the general preview command.
>
> Brad
>
>
> On Oct 30, 2007, at 1:58 PM, Roberto Saccon wrote:
>
> > thanks, I should have mentioned that I am aware of that, what I don't
> > know is how to make those steps part  of a language bundle, so I can
> > distribute this functionality, without the User having to install it
> > manually.
> >
> > On 10/30/07, Hans-Joerg Bibiko <bibiko at eva.mpg.de> wrote:
> >>
> >> On 30 Oct 2007, at 14:32, Roberto Saccon wrote:
> >>> for specific non-HTML files I would like to perform some commands
> >>> and
> >>> then show the result as HTML preview, it that possible ?
> >>
> >> 1)
> >> Open Web Preview
> >> Show Options
> >> Check 'Pipe text through' "YOUR SCRIPT"
> >>
> >> 2)
> >> Write a command which executes your script and set "Output" to "Show
> >> as HTML"
> >>
> >> --Hans
> >>
> >> ______________________________________________________________________
> >> For new threads USE THIS: textmate at lists.macromates.com
> >> (threading gets destroyed and the universe will collapse if you
> >> don't)
> >> http://lists.macromates.com/mailman/listinfo/textmate
> >>
> >
> >
> > --
> > Roberto Saccon
> > http://rsaccon.com
> >
> > ______________________________________________________________________
> > For new threads USE THIS: textmate at lists.macromates.com
> > (threading gets destroyed and the universe will collapse if you don't)
> > http://lists.macromates.com/mailman/listinfo/textmate
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>


-- 
Roberto Saccon
http://rsaccon.com


More information about the textmate mailing list