(AGK version: 108.14)
Submitted: 2013-06-26 02:29:49
Setvirtualresolution(640,480)
ResetTimer()

CreateText(1,"Example Text")
SetTextSize(1,35)
SetTextPosition(1,8,80)

//The 'p' is character 4 in the example text (range starts at 0)
//Set 'p' character to a random color/alpha value
SetTextCharColor( 1,4, Random(0,255), Random(0,255), Random(0,255), Random(100,255) )

//Get and display the current Red component value
Repeat
    Print ("The Red Component Value of 'p'= "+Str(GetTextCharColorRed(1,4)))
    Sync()
Until Timer()>12
End
Help make AGK better by submitting an example for this command!
(All examples are subject to approval)
Login to post an example of your own.