Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

build an interface+ python buttons

2012-09-22
2012-11-14
  • Hi!

    I downloaded the python script plugin and did a simple function to wrap custom xml tags around the selected text.
    Could it be possible to create and interface with some buttons (one for each tag) and execute it from there?
    Is there a better way to do this?

    Thanks for your time!

     
  • You can't create an interface - there's a few people (me included) looking at getting that going, but it's not there yet. However, you can add toolbar buttons to run a specific script, so you could achieve something similar if toolbar buttons will do you.

    If you want to surround text with tags, you should look at the WebEdit plugin, and possible Zen Coding.  The first does exactly that, and the second does that, but without the toolbar buttons, although it can do a bit more with creating the initial html/xml.

    Cheers,
    Dave.

     
  • Bad to hear about the interface but  WebEdit completely made my day!
    Thanks man!