Jump to content

takaharu_

Members
  • Posts

    141
  • Joined

  • Last visited

Everything posted by takaharu_

  1. Draw a rectangle using the rectangle tool then at the bottom-right, click the plus (+) symbol next to "Filers:" and select either Inner Bevel from Bevel and Emboss or select Bevel Boss from Eye Candy 4000 LE. If you want to use the latter (Bevel Boss) then you might want to include the text as in the button. In this case, before applying the filter, use select all then Select > Flatten Selection. This will combine the selection into one item so you can then buttonise it. Couldn't be simpler (unless I didn't explain it well).
  2. I tried out the code I posted just to make sure: //echo -a 4Testing for www.TG007.net URLs. It worked fine; all of the text was red apart from the URL, which was blue and underlined.
  3. Took me a while to find this again but I got there in the end: alias url.find { var %n = $wildtok($1-,http*,0,32), %i = 1, %e = $1- while (%n >= %i) { var %x = $wildtok(%e,http*,%i,32) var %y = $chr(3) $+ 12 $+ $chr(31) $+ %x $+ $chr(15) $+ $iif(* iswm %e,$left(%e,1) $+ $left(%e,2),$null) var %e = $replace(%e,%x,%y) inc %i } var %n = $wildtok(%e,www.*,0,32), %i = 1 while (%n >= %i) { var %x = $wildtok(%e,www.*,%i,32) var %y = $chr(3) $+ 12 $+ $chr(31) $+ %x $+ $chr(15) $+ $iif(* iswm %e,$+ $left(%e,1) $+ $left(%e,2),$null) var %e = $replace(%e,%x,%y) inc %i } return %e } Hope this helps; it will colour the links and (if memory serves) retain the original formatting of the text. You would use it in a similar way to this: on *:text:*:#:{ echo -a $url.find($1-) }
×
×
  • Create New...