Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Menu with content depending on initial of word
#4
Macro Macro1950
Code:
Copy      Help
out
;str s.getfile("...")
str s=
;Bach: Jean-Sebastien Bach
;Beethoven: Ludwig van Beethoven
;Bruckner: Anton Bruckner
;Mahler: gustav Mahler
;Monteverdi: claudio Monteverdi
;Mozart: Wolfgang amadeus Mozart

if(!s.replacerx("^(\w)(.+?): *([^\r\n]+)" "$1 :''$3'' ;;$1$2" 9)) end "incorrect list"
;out s
s-"/b/i/c[]"
s.setmacro("Autotext")


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)