well, i guess you could do :
CODE
hello!
save to some html file then in mel do :
CODE
window;
$form = formLayout
;
$browser = webBrowser -width 800 -height 600 -url ("file://C:/file.htm")
;
formLayout -e -af $browser "left" 0
-af $browser "right" 0
-af $browser "top" 0
-af $browser "bottom" 0 $form;
showWindow;
Of course you can do it another way using an idle script job. I'd suggest though that this is a really really bad idea since you are taking CPU time away from Maya for something fairly pointless....
CODE
global proc HandleMarquee(string $text,string $layout)
{
global float $scroll_marquee;
$scroll_marquee += 0.1;
if( $scroll_marquee > 100 )
$scroll_marquee = 0;
formLayout -e -ap $text "left" 0 ((int)$scroll_marquee) $layout;
}
global float $scroll_marquee=0;
$window=window -w 800 -h 50
;
$layout = formLayout
;
$text = text -l "Hello!"
;
$command = "HandleMarquee(\"" + $text + "\",\"" + $layout + "\");\n";
formLayout -e -ap $text "left" 0 0 -an $text "right" -an $text "bottom" -af $text "top" 5 $layout;
scriptJob -p $text -event "idle" $command;
showWindow;