November 5, 200817 yr I am using: TextColor ( blah::woof ; RGB ( 0 ; 500 ; 0 ) ) Refresh Window [] ... which works, but when I add a loop later in the script -- setting a global variable to the CurrentTime, loop, exit loop if the variable + 1 < Get (CurrentTime) -- the formatting doesn't show up except for a flash, as if the loop is executing before the color is drawn to screen from the earlier step. I have a TextFormatRemove ( blah::woof ) as the last script step, which works. Ken Edited November 5, 200817 yr by Guest I edited out the (pure) RGB (...) reference, which was incorrect.
November 5, 200817 yr Set Field [ blah::woof; RGB ( 500 ; 0 ; 0 ) ] Shouldn't this be Set Field [ blah::woof; textcolor( blah::woof ; RGB ( 500 ; 0 ; 0 ) ) ]
November 6, 200817 yr Author Vaughan, you are correct. I edited my post, but not fast enough. Thanks.
November 6, 200817 yr Author Daniele, 'pause' works perfectly, thank you for pointing out what should have been obvious to me. OTOH, I'm still curious why the screen wasn't painted before the loop executed. I'm familiar with this phenomenon, going back to the HyperTalk and Lingo days. Thanks, Ken
Create an account or sign in to comment