[script] Improved InsertULAction

Ask questions about how to create a script or swap scripts with other users.
Post Reply
User avatar
pjj
Posts: 2108
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

[script] Improved InsertULAction

Post by pjj »

There's InsertULAction, with default Ctrl+L shortcut (also HTML > List > Unordered list from the main menu), that makes an unordered list from the selection. It works great, but has some quirks, that prompted me to write a script, which I attach here. My tiny script:
  • switches off word-wrap and column mode before making the list
  • strips off leading and trailing spaces
  • strips off some leading bullet characters
I hope you will find it useful.
Attachments
ul-list.zip
(760 Bytes) Downloaded 214 times
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
User avatar
SueDowell
Posts: 1
Joined: 26 Oct 2021 13:22

Re: [script] Improved InsertULAction

Post by SueDowell »

Cool, that's what I need! :wink:
Post Reply