Drahkuna Beginner
Joined: 15 Apr 2005 Posts: 15 Location: MO
|
Posted: Wed Sep 07, 2005 8:44 pm
My AutoColor Script - help with %selline |
Code: |
#CLASS {autoColor} {menu}
#VAR currentcolor {}
#ALIAS co {#show %ansi(%1)%1}
#ALIAS colorit {#co %selline @currentcolor}
#MENU {"Define Currentcolor Variable"} { #pr currentcolor "ANSI Code or Color Name"
colorit
} ""
#CLASS 0
#MENU "Color Line" {} "" "AutoColor"
|
What would be the quickest way I could color the selected line and not have that line stripped (uncolored) each time I choose a new line? I've tried variables - didn't work for me -, and I've got the feeling there's a really simple solution for this, but it just won't come to me. Any help would be appreciated. |
|