(AGK version: 108.14)
Submitted: 2013-06-24 14:16:45
Setvirtualresolution(640,480)
ResetTimer()

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

//Set each character to a random color/alpha value
For c=0 to Len(text$)-1
    SetTextCharColor( 1,c, Random(0,255), Random(0,255), Random(0,255), Random(100,255) )
Next c

//The 'x' is character 8 in the example text (range starts at 0)
Repeat
    Print ("The Green Component Value of 'x'= "+Str(GetTextCharColorGreen(1,10)))
    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.