like this :
comment 1
comment 2
.
.
.
comment 100
Code: Select all
F2::Reload
F1::
Gui, Add, GroupBox, x2 y9 w300 h280 , Script Comments
Gui, Add, Edit, x22 y59 w270 h220 Border readonly vscroll vComment_Bar
Gui, Show, xCenter yCenter h291 w310, Autohotkey
Gui +AlwaysOnTop
z = 0
while z != 100
{
z ++
GuiControl,,Comment_Bar, % "[ + ] This is comment " . A_Index . "`n"
ifEqual z, 80
{
Gui, Font, cRed
GuiControl, Font, Comment_Bar
}
ifEqual z, 50
{
Gui, Font, cBlue
GuiControl, Font, Comment_Bar
}
ifEqual z, 10
{
Gui, Font, cGreen
GuiControl, Font, Comment_Bar
}
Sleep,1000
}
GuiControl,,Comment_Bar, All don ! Exit AHK.
Return
GuiClose:
Reload