本帖最后由 rolaka 于 2009-5-24 14:04 编辑
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
InetGet("http://www.fontsquirrel.com/fonts/download/Journal", "Journal.zip")
RunWait("winrar e Journal.zip", @ScriptDir)
DllCall("gdi32.dll", "none", "AddFontResourceA", "str", @ScriptDir & "/journal.ttf")
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("每周任务#2", 310, 154, 192, 124)
$Label1 = GUICtrlCreateLabel(" Hyperion~ ", 6, 10, 325, 132)
GUICtrlSetFont(-1, 72, 400, 0, "Journal")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
If GUIGetMsg() == $GUI_EVENT_CLOSE Then
Exit
EndIf
WEnd
Func OnAutoItExit()
DllCall("gdi32.dll", "none", "RemoveFontResourceA", "str", @ScriptDir & "/journal.ttf")
FileDelete("Freeware License.txt")
FileDelete("journal.ttf")
EndFunc ;==>OnAutoItExit
....ok了... |